Send a transactional OTP or PIN SMS to a mobile number worldwide via Text SMS.
{
"success": true,
"message": "",
"data": {
"order_id": "W2A_SAMPLE_ORDER",
"result": {
"phone": "+919876543210",
"content_type": "OTP",
"purpose": "login",
"share_with": "no_one",
"sms_status": "sent"
}
}
}
{
"success": false,
"message": "content must be either \"OTP\" or \"PIN\".",
"data": {
"error_code": "VALIDATION_ERROR"
}
}
| Code | Meaning |
|---|---|
| 200 | OK — Request successful |
| 400 | Bad Request — Missing or invalid parameters |
| 401 | Unauthorized — Invalid or missing API key |
| 429 | Too Many Requests — Rate limit exceeded |
| 500 | Server Error — Try again later |
Create an account to get your API key. No credit card required.
Get API Key — Free Browse All APIsOther Way2API endpoints in the same category.
Way2API Support
Typically replies in a few minutes
Today
Hi there 👋
Welcome to Way2API — global developer APIs for domain, email, OTP and KYC verification.
Pick a question below and we'll reply on WhatsApp.
Sales & pricing
APIs & integration
Account & support
Sales & support · Mon–Sat, 10:00–19:00 IST