Authentication
Sign in
To sign-in using the TOKEN API, first submit an HTTP Request with your Service Username and API Key, then receive a Response that includes your JWT access-token, which you will then provide in the Authorization header of each CEQUENS API request you need to submit.
Request Body
application/json
apiKey?string
Your API key
userName?string
Your Cequens Service Account username
Response Body
application/json
curl -X POST "https://example.com/auth/v1/tokens/" \ -H "Content-Type: application/json" \ -d '{}'"{\n \"replyCode\": 0,\n \"replyMessage\": \"[Request handled successfully]\",\n \"requestId\": \"60049a30-87ca-11eb-98c7-655762893d27\",\n \"clientRequestId\": 0,\n \"requestTime\": \"2021-03-18T09:14:42.899\",\n \"data\": {\n \"access_token\":<your generated JWT token>\n }\n}"