Get Authorization URL
GET/api/temu/:integrationInstance/get-authorization-url
Builds and returns the Temu seller-consent URL for this integration instance. Direct the merchant to this URL to authorize (or re-authorize) the connection; after they approve access, Temu redirects back to the platform's OAuth callback which completes the token exchange.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
The URL is assembled from the instance's configured environment (production or sandbox), the registered application key, the platform callback address, and a state value that identifies this instance. This endpoint is read-only — it makes no calls to Temu and changes no data.
Authentication: Requires Bearer token.
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.