DRUO
Get started
Authentication

Create access token

POSThttps://auth.druo.com/oauth/token

Generate a new OAuth access token.

The generated token is valid for 86,400 seconds (24 hours) and includes its permitted scopes. It is recommended to cache and reuse tokens until they expire instead of requesting a new token for each API call.

Request body

client_idstringRequired

The unique identifier of the client.

client_secretstringRequired

The secret key associated with the client ID.

audiencestringRequired

The API identifier representing the target audience.

grant_typestringRequired

The OAuth grant type requested.

Possible values:client_credentials

Response

access_tokenstringoptional

The generated JSON Web Token (JWT) used for authentication.

Example: eyJhbGciOiJSUzI1NiIsInR...
scopestringoptional

The space-separated list of scopes granted to the access token.

Example: read:connect write:transaction
expires_inintegeroptional

The lifetime of the access token in seconds from the time of generation.

Example: 86400
token_typestringoptional

The type of token returned.

Example: Bearer
NextPOSTCreate End User