Two-Factor Authentication REST API

Validate Code

Validate Code

The validate code is used to check that a code is valid or not. When this endpoint is accessed, the code itself will be validated against the token and client_ref.

Every generated code is valid for 5 minutes only thus, after that time, the code can’t be validated.


Request Format

This request does not require a request body but it still requires the headers mentioned in Authentication. The data to be validated should be passed as URL parameters, as per below:

If any of the 2 parameters are missing, the request would not even reach the endpoint.

Get Started