Issue a short-lived platform access token for a principal
POST/token/issue
Issues a short-lived platform access token bound to a principal within a realm. Intended for backend-to-backend use: the caller must be authenticated via serviceAuth. The resulting token can be used by frontend clients to call customer-facing Billing APIs on behalf of the same principal.
Request
Responses
- 200
- 400
- 401
- 403
- 429
- 500
Token issued
Bad Request
Unauthorized
Forbidden (realm/account mismatch, billing_account_id not derived from session/principal, or insufficient role)
Rate limited
Response Headers
Retry-After
Seconds to wait before retry.
Internal Server Error