Exchange API key compatibility
Deprecated compatibility endpoint. Same raw-key exchange and 300–900 second TTL; response omits organization_id and client_id. Prefer POST /api/auth/token-exchange.
Authentication
AuthorizationBearer
Long-lived sk_live_* or sk_test_* key. Use for token exchange and npm registry only.
Response headers
Deprecation
true
Link
Successor route: /api/auth/token-exchange
Response
Success
access_token
token_type
expires_in
scope
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error