Skip to main content
POST
/
oauth
/
token
Get Access Token
curl --request POST \
  --url https://api.gonitro.dev/oauth/token \
  --header 'Content-Type: application/json' \
  --data '{
  "clientID": "<string>",
  "clientSecret": "<string>"
}'
{
  "accessToken": "<string>",
  "tokenType": "<string>",
  "expiresIn": 123
}

Body

application/json
clientID
string
required

The client ID for auth client credentials flow

Minimum length: 1
clientSecret
string
required

The client jwtSecret for auth client credentials flow

Minimum length: 1

Response

OK

accessToken
string

The access token

tokenType
string

The token type (typically 'Bearer')

expiresIn
integer

Token expiration time in seconds

I