POST
/
oauth
/
token
curl --request POST \
  --url https://api-sandbox.orum.io/oauth/token \
  --header 'Content-Type: application/json' \
  --data '{
  "client_id": "<string>",
  "client_secret": "<string>"
}'
{
  "access_token": "<string>",
  "token_type": "<string>",
  "expires_in": 123
}
The auth token is valid for one hour.

Body

client_id
string
required

ID returned when generating API Credentials.

client_secret
string
required

Secret returned when generating API Credentials.

Response

200
application/json
200 response.
access_token
string
required

Short-lived auth (access) token that you will pass in the Authorization header of all Deliver calls.

token_type
string
required

The type of token returned. This will always be "Bearer".

expires_in
number
required

The time in seconds until the token expires.

Was this page helpful?