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": "fCgv1iY8tap7wZwt",
  "api_secret": "Su1qGiVwVefZjnEomw9mcs8ievs3hatfVFpWykRP",
  "scope": null
}

Response

Status

200

Headers

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

Body

{
  "success": true,
  "Access-Token": "e21dccf95d886605d1ab558b0c45cc3733f4225a2a471aee3fb46fefed223b47$$tFH+iHmvsWA7qtirWGSiwk1lTJU3haLeTMaF2c/UkH7CpmmozS9lHn8qog==--5W88cK/fz2nCNDyp--37+QtHxIn7aZBtUk/sc9iQ==",
  "Api-Key": "fCgv1iY8tap7wZwt"
}