Authentication
post
Allows users to securely authenticate with API credentials through Auth0, and in return, provides a JSON Web Token (JWT) that can be used to access the rest of the API endpoints.
Authorizations
Body
client_idstringOptional
client_secretstringOptional
grant_typestring · enumOptionalDefault: 
client_credentialsPossible values: audiencestring · enumOptionalDefault: 
stakingPossible values: Responses
200
OK
application/json
post
/oauth/tokenPOST /oauth/token HTTP/1.1
Host: ethereum-staking.sprd.validationcloud.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 98
{
  "client_id": "text",
  "client_secret": "text",
  "grant_type": "client_credentials",
  "audience": "staking"
}200
OK
{
  "access_token": "text",
  "scope": "text",
  "expires_in": "text",
  "token_type": "text"
}