Sessions

POST /auth/generate_access_token

Endpoint

POST /api/v2/auth/generate_access_token

Parameters

Name Description type
api_key required api key string
api_secret required api secret string
scope scope string

Request

Route

POST /api/v2/auth/generate_access_token

Headers

Accept: application/json
Content-Type: application/json

Body

{
  "api_key": "37yF7GzNt5eFgvZ1",
  "api_secret": "aStDaWG4GEGi14q4yg5qkLuDj77bHqzAHGwkV7hq",
  "scope": null
}

Response

Status

200

Headers

Content-Type: application/json; charset=utf-8

Body

{
  "success": true,
  "Access-Token": "d47517de11b5b8baf40cf9a78c4f8684704934743bc4890c15a53f2873dfc434$$JEC+9p45wRf35/oBpTL4lf3Gc6SLMwdCSVDSobDTGpudRH4FOrftuoHriQ==--DpJ3+xxORn8mvghR--Vl2FOVDUWEeX0E0p6mWiZQ==",
  "Api-Key": "37yF7GzNt5eFgvZ1"
}