Exchange API key
Send the raw API key in Authorization: Bearer. No request body is needed. The resulting JWT lasts 300–900 seconds depending on client configuration (default 900). Keys must be active, unexpired and bound to an active local M2M client. Limited to 60 requests/minute independently per trusted client IP and valid API key.
Authentication
AuthorizationBearer
Long-lived sk_live_* or sk_test_* key. Use for token exchange and npm registry only.
Response
Success
access_token
Short-lived JWT. Treat as a secret.
token_type
expires_in
Seconds until expiry. Use this returned value rather than a fixed refresh interval.
scope
Space-separated granted scopes.
organization_id
client_id
Errors
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error