APIs / Core

Authentication API

Obtain and refresh access tokens, manage API key sessions and OAuth (future).

POST/v1/auth/token

Exchange an API key for a short-lived access token.

Request body

{ "api_key": "atk_live_..." }

Response

{ "access_token": "eyJhbGciOi...", "token_type": "Bearer", "expires_in": 3600 }
POST/v1/auth/refresh

Refresh an expiring access token.

Response

{ "access_token": "eyJ...", "expires_in": 3600 }