Authentication

Retrieves authorization token for requests to the Staking API

Retrieves authorization token for requests to the Staking API.

post

/oauth/token

Authorizations
Body
client_idstring
client_secretstring
grant_typestring · enum · default: client_credentials
Options: client_credentials
audiencestring · enum · default: staking
Options: staking
Responses
curl -L \
  --request POST \
  --url 'https://validationcloud.us.auth0.com/oauth/token' \
  --header 'Authorization: Bearer JWT' \
  --header 'Content-Type: application/json' \
  --data '{
    "client_id": "text",
    "client_secret": "text",
    "grant_type": "client_credentials",
    "audience": "staking"
  }'
{
  "access_token": "text",
  "scope": "text",
  "expires_in": "text",
  "token_type": "text"
}

Last updated