Tokens
Tokens are used to allow users to access their individual data. This is for obtaining tokens from the Internal authentication mechanism.
Requires:
Actions
URL | Verb | Information |
---|---|---|
/token | POST | Creates a new token. Returns the token, or HTTP 401 if credentials are not correct. |
Requesting A Token
A token can be created for existing users.
Field | Data Type | Required | Additional Information |
---|---|---|---|
EmailAddress | String | Y | |
Password | String | Y |
If the credentials are not correct, the API will return HTTP 401 Unauthorized.