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": "UJ21reu1rHnZhLds",
  "api_secret": "MYJGLQWTgqWsoJQTHwBuE5P4ZgMtFnKFXg4fxBkA",
  "scope": null
}

Response

Status

200

Headers

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

Body

{
  "success": true,
  "Access-Token": "3cf2b67094b6b63926bf83c16ceaa664c326fdf77fb6ea5c8c06e82cfe148367$$NwsNvsv2kSxMzz4L2VGNSM9yD+7ZSD/8hPNpV+KtR0mU1icw3ubwtVJuMg==--kZmYOeu3jBVebLjG--ws5XIIGfJtFhcei/ReS83w==",
  "Api-Key": "UJ21reu1rHnZhLds"
}