v1

latestOpenAPI 3.1.02026-08-0421263172.4 KB
OAuth

Get OAuth2 token

Gets a new short-lived token using the specified client credentials

post/api/v1/oauth/token

Headers

Authorizationstring required

Bearer authentication

Request body

grant_type'client_credentials' required

The type of grant being requested

client_idstring

The client identifier

client_secretstring password

The client secret

Response

Access token response

access_tokenstring required

The access token

token_typestring required

The type of token (typically "Bearer")

expires_ininteger

Lifetime of the access token in seconds

refresh_expires_ininteger

Lifetime of the refresh token

not-before-policyinteger

Enforce that a token cannot be used before a specific unixtime

scopestring

The scope of the access token