Sessions

with invalid api secret

Endpoint

POST /api/v2/auth/generate_access_token

Parameters

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

Request

Route

POST /api/v2/auth/generate_access_token

Headers

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

Body

{
  "api_key": "hxqRVKfdKi3w7h9X",
  "api_secret": "foo"
}

Response

Status

200

Headers

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

Body

{
  "success": false,
  "errors": {
    "messages": [
      "Invalid API credentials"
    ]
  }
}