Skip to main content
POST
/
v1
/
oauth
/
token
Request AccessToken
curl --request POST \
  --url https://iam.eu.confidence.dev/v1/oauth/token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "grantType": "<string>",
  "clientId": "<string>",
  "clientSecret": "<string>"
}
'
{
  "accessToken": "<string>",
  "expiresIn": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
grantType
string
required

The grant type. Currently only "client_credentials" is supported

clientId
string
required

The client id of the client to ge the token for

clientSecret
string
required

The secret of the client to get the token for

Response

200 - application/json

OK

accessToken
string
required

The access token that kan be used to call the api

expiresIn
object
required

The ttl of the Access Token token from the time it was issued (in seconds).