OTP
Generate and verify one-time passcodes without storing them yourself. Codes are billed as SMS credits.
- POSTSend OTP
/sms-api/otp/sendGenerates a code, injects it into your message template at the <%otp_code%> placeholder and sends it. Keep the returned requestId to verify the code later.
- POSTVerify OTP
/sms-api/otp/verifyChecks a code the user typed against the one sent for that requestId and phone number. After five wrong attempts the code is discarded and a new one must be sent.