v1

latestOpenAPI 3.1.02026-07-241653251.3 MB
Organization Token

Generate access token

Request an OAuth2 access token for API authentication. Use the returned token in a subsequent /sessions call.

post/api/v1/oauth/token

Request body

client_idstring required

OAuth2 client ID

client_secretstring required

OAuth2 client secret

audiencestring required

API audience identifier

grant_type'client_credentials' required

OAuth2 grant type

organization_idstring required

Organization identifier

Example request

{
  "client_id": "clt_4a7b2f8e9d1c5x6y3z8w2v5u7t9r1q4e",
  "client_secret": "cs_9x8w7v6u5t4r3q2p1o9n8m7l6k5j4i3h2g1f0e9d8c7b6a5z4y3x2w1v0u9",
  "audience": "https://api.cert.connect.xyz",
  "grant_type": "client_credentials",
  "organization_id": "f446f14c-4035-4105-892b-1649bff16424"
}

Response

Access token generated successfully

access_tokenstring required

JWT access token

expires_ininteger required

Token expiration time in seconds

token_typestring required

Token type

Example response

{
  "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImlkIn0...",
  "expires_in": 86400,
  "token_type": "Bearer"
}