v1

latestOpenAPI 3.0.02026-07-26166415635.8 KB
OAuth2

Issue tokens

Issue access tokens using various grant types:

  • client_credentials: Exchange client credentials for an access token
  • urn:ietf:params:oauth:grant-type:jwt-bearer: Exchange JWT assertion (Keycloak for brokerdash or Google for admin)
  • refresh_token: Refresh an admin access token using a refresh token
post/oauth2/token

Response

OK

access_tokenstring required

Access token

expires_ininteger required

Time in seconds until the token expires

refresh_tokenstring

Refresh token

token_type'Bearer' required

Type of the token (e.g., Bearer)

Example response

{
  "expires_in": 900
}