cURL
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" }
Request an access token using OAuth2 protocol.
The client ID and secret, separated by a colon and base64-encoded.
Token created successfully.
The response is of type object.
object