post
https://www.fast2sms.com/dev/otp/send
Send an OTP to a mobile number using a predefined OTP template. You can customize the OTP length, expiry, and provide values for variables in your DLT template.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
This endpoint allows you to send an OTP to a mobile number. You can either provide your own OTP or let Fast2SMS generate one for you. If your template requires passing the OTP value in multiple variables, pass {otp} in variables_values (e.g. variables_values: "value1|{otp}" or "{otp}|{otp}").
