v3

latestOpenAPI 3.0.02026-08-081996601.2 MB
Authentication

Request an access token

Exchanges client credentials for an OAuth 2.0 access token.

post/oauth/token

Request body

client_idstring required

The client ID of the application

client_secretstring required

The client secret of the application

{"stackTrail":"paths:/oauth/token:post:requestBody:content:application/json:schema:properties:grant_type","oasType":"schema","type":"unknown","extensionFields":{"x-fern-type":"literal<\"client_credentials\">"}}

Response

The response contains the access token, the token type, and the expiration time in seconds.

access_tokenstring required
token_typestring required
expires_ininteger required