Skip to main content

OTP Verification Workflow

To implement OTP verification, follow these steps:

1. Send OTP

Use the /send-otp endpoint to send an OTP via SMS, WhatsApp, or Email. Supports:
  • Custom OTPs
  • SMS delivery via your own sender name registered with Authentica or default sender name offered by Authentica
  • Email delivery via your own email address registered with Authentica or default email address offered by Authentica
  • Control fallback channel, templates with ids 1 and 2 will be used for the fallback OTP based on the language of the main template you used in the request
Note: Check Application setting on Authentica dashboard to set default values for OTP options.

Example Request

2. Verify OTP

Use the Verify OTP endpoint to validate the OTP entered by your customer.

Example Request

See the API Reference for detailed parameter documentation.