The Two-Factor Authentication API is a REST application hosted on the Fortytwo servers and can be accessed via simple HTTP requests containing specific data. The API has 2 endpoints in order to access it, and when these are requested, the server processes the submitted data and sends a response status back to the client.
The endpoints are :
Both endpoints require authentication by providing an authentication token in the request headers.