POST
/
core
/
oauth2
/
token
curl --request POST \
  --url https://api.enterprise.sandbox.uphold.com/core/oauth2/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data grant_type=client_credentials \
  --data 'scope=users:* users.kyc:read'
{
  "access_token": "eyJhbGciOiJIUzI1NiIsI...",
  "expires_in": 600,
  "scope": "users:* users.kyc:read",
  "token_type": "Bearer"
}

Headers

Authorization
string

The client ID and secret, separated by a colon and base64-encoded.

Body

application/x-www-form-urlencoded

Response

200 - application/json

Token created successfully.

The response is of type object.