This endpoint is used to obtain an authentication token from the server, as well as to set an expiration date and time for the token.
Get Access Token
This request will result in a token generated by the server if successful. The token is a long random string, and must be provided for all following calls as a header element named
Request method and URL:
Request body example:
200 (HTTP response status code) -- Token is successfully created
401 (HTTP response status code) -- Unauthorized
Using Authorization Token
In all subsequent requests, the token will need to be added into the request headers as a key:value pair with the key name "x-connectfi-token":
"x-connectfi-token": "a long random string"