Skip to main content
POST
/
oauth
/
token
Get Access Token
curl --request POST \
  --url https://crm-demo.cynopsis.co/oauth/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data grant_type=client_credentials \
  --data client_id=your_client_id \
  --data client_secret=your_secret_key
{
  "access_token": "<string>",
  "token_type": "Bearer",
  "expires_in": 123,
  "scope": "<string>"
}

Body

application/x-www-form-urlencoded
grant_type
string
required
Example:

"client_credentials"

client_id
string
required
Example:

"your_client_id"

client_secret
string
required
Example:

"your_secret_key"

Response

Successful Access Token Response

access_token
string
token_type
string
Example:

"Bearer"

expires_in
integer
scope
string