Login with credentials and get the JWT for all requests.
Headers
Name | Value |
---|---|
Content-Type | application/json |
Request
Key | Required | Comment |
---|---|---|
Yes | string | |
api_key | Yes | string |
Response
Name | Value |
---|---|
token | string. The JWT for all requests. |
expires | string. The expiration timestamp for the token, in format YYYMMDDhhmmss, UTC. |
refresh_token | string. To refresh the actual token, see POST /subscribers/refresh |
refresh_expires | string. Expiration timestamp for the refresh token. |
userId | int. Your unique ID as a registered user. |
Status Code
Code | Comment |
---|---|
200 | User authenticated and token created. |
400 | Input data not correct. |
401 | User not authorized. |