latestOpenAPI 3.1.02026-08-23100133183.1 KB

0d66c7340876

Authentication

Get access token

Get access token for public API using client credentials or refresh token.You can manage your credentials at https://console.verda.com, under the Keys => Cloud API credentials section.

post/v1/oauth2/token

Headers

cf-connecting-ipstring required
user-agentstring required

Request body

OR

Example request

{
  "grant_type": "client_credentials",
  "client_id": "6a51jsgnISg6JOyE7wYZh",
  "client_secret": "TvSBFujsqloJb4Jbcezths1OPK9my3zodM3zot9Fn5"
}

Response

Valid credentials

access_tokenstring required

Access token value

token_typestring required

Token type

expires_innumber required

Token expiration time in seconds

refresh_tokenstring required

Refresh token value

scopestring required

Access scope

Example response

{
  "access_token": "eyJhbGciOiJIUzI1NiI...",
  "token_type": "Bearer",
  "expires_in": 3600,
  "refresh_token": "OU4O2BwA690cKg2OfGS8pgIfGSTD2vJ...",
  "scope": "cloud-api-v1"
}