Skip to main content
POST
cURL

Body

application/x-www-form-urlencoded

An RFC 6749 client-credentials token request, form-encoded. Its field names are the standard's, so OAuth client libraries send it unchanged.

client_id
string | null

The service account's id. Omit it when the credentials are sent with HTTP Basic.

client_secret
string | null

The service account's full API key (tfk_live_… or tfk_test_…). Omit it when the credentials are sent with HTTP Basic.

grant_type
string | null

Always client_credentials.

Response

Short-lived service-account bearer token

An RFC 6749 access token response.

access_token
string
required

The bearer token: send it as Authorization: Bearer <access_token>.

expires_in
integer<int64>
required

Seconds until the token expires (at most 900). Request a new one before then.

Required range: x >= 0
scope
string
required

The token's API scopes, space-separated.

token_type
string
required

Always Bearer.