API Introduction
Welcome to the linkutm API. Use these endpoints to manage shortened URLs with UTM parameters, aliases, custom domains, and analytics.Base URL
- Set
{{baseUrl}}for your environment, e.g.,https://api.linktutm.comorhttp://localhost:3000.
Authentication
- All endpoints under
/api/v1require an API token. Authorizationheader acceptsBearer ez_<token>or rawez_<token>.
Variables
{{baseUrl}}: API server base URL{{apiToken}}: API token value, prefixed withez_{{xTimezone}}: Optional timezone header, e.g.,UTC{{sessionCookie}}: Session cookie for token management endpoints under/api-tokens
Headers
Authorization:Bearer ez_<token>Content-Type:application/jsonfor POST/PUTX-Timezone: Optional timezone context