API Based Workflow
The API-based workflow is a two-step process:1
Generate OTP
Generate OTP for users using the Generate OTP endpoint. Users will obtain a One Time Password (OTP) on their registered email address with a validity of 10 minutes.
2
Verify OTP
Provide the OTP and username (user’s email) to verify the OTP. Obtain the
access_token and use that with all subsequent requests.Step 2
After obtaining theaccess_token, use it for all subsequent requests to access protected resources.
Additional Information
- The OTP is valid for 10 minutes.
- Ensure to handle errors appropriately, such as invalid OTP or expired OTP.