API Documentation

POST /subscribers/login

Login with credentials and get the JWT for all requests.

Headers

NAME VALUE
Content-Type application/json

Request

KEY REQUIRED COMMENT
email 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 To refresh the actual token, see POST /subscribers/refresh
refresh_expires 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.