Vend Amazon access token
Use the canonical authorization ID from list identities. Requires an API-key-derived JWT plus live authorization and commercial entitlement. Returns an Amazon access token, not a Kuudo JWT. Keep it server-side and honor expires_at. Responses use Cache-Control: no-store.
Requires every scope: amazon-tokens:vend.
Authentication
AuthorizationBearer
JWT returned by POST /api/auth/token-exchange. Amazon and authorization invitations require API-key-derived tokens.
Path parameters
id
Storage/server/environment resource ID as applicable.
Request
This endpoint expects an object.
provider
Allowed values:
profile_id
Optional Ads profile ID; profileId is accepted as a compatibility alias.
Response
Success
access_token
Amazon access token. Keep server-side and never log it.
expires_at
client_id
region
base_url
provider
profiles
selling_partner_id
selling_partner_type
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error
503
Service Unavailable Error