API Based Redirection

The API-based workflow starts by generating an OTP for the user using Sandbox's Generate OTP endpoint.

Steps:

  1. Generate OTP for users using Generate OTP endpoints. GET /oauth/otp
  2. User will obtain a One Time Password (OTP) on their registered email address with a validity of 10 mins
  3. Provide the OTP and username (user's email) to Verify the OTP endpoint. POST /oauth/otp
  4. Obtain the access_token and use that with all subsequent requests