Send OTP
Send a One-Time Password (OTP) via WhatsApp.
Authentication Required
Login to swap the placeholders with your real Instance ID and Access Token.
Log InNo query parameters required
This endpoint doesn't expect data in the URL.
Seamless Authentication: The Wawp Authenticator Strategy
Transform your platform's user experience by replacing expensive SMS logic or slow Email verification with instant, secure WhatsApp OTPs. This endpoint powers a global-ready Identity Management flow.
Global Multi-Language Support 🌍
Our system supports 26+ global languages natively. When you specify a 'lang' parameter, the system automatically selects one of 5 different message templates for that language to ensure variety and security.
| Code | Language | Code | Language |
|---|---|---|---|
| en | English (Default) | ar | Arabic |
| fr | French | es | Spanish |
| pt | Portuguese | de | German |
| it | Italian | tr | Turkish |
| id | Indonesian | hi | Hindi |
| ru | Russian | ja | Japanese |
| ko | Korean | zh | Chinese |
| nl | Dutch | pl | Polish |
| vi | Vietnamese | th | Thai |
| ms | Malay | fa | Persian |
| ur | Urdu | bn | Bengali |
| el | Greek | ro | Romanian |
| sv | Swedish | uk | Ukrainian |
🚀 Additional Context (Performance & Security)
- Universal Auth: This endpoint is universal. It accepts credentials via Headers (Authorization: Bearer), JSON Body, or Query parameters.
- Anti-Spam Shield (60s): Strictly enforced 60-second cooldown per recipient to prevent automated abuse and protect your sender reputation.
- Subscription Aware: Systems automatically detect your plan. Unlimited users bypass local rate-limiting queues for immediate dispatch.
- Validations: Automatically formats and validates phone numbers before dispatching to ensure high success rates.
Anti-Ban & Deliverability Engine 🛡️
We utilize advanced heuristics to protect your WhatsApp numbers from being flagged:
- Template Rotation: Every request picks a random phrasing among 5 variations.
- Mathematical Uniqueness: Every message includes a unique invisible/visible transaction ID to prevent hash-matching by WhatsApp.
- Smart Delays: Messages are queued with random millisecond delays (3-8 seconds) to mimic human typing patterns.
Request Parameters
Configure the parameters required to interact with this endpoint. All query and body arguments are listed below with their details.
URL Parameters
Passed in the URL query stringstring | Your unique WhatsApp Instance ID Example: | ||
string | Your API Access Token Example: | ||
string | The recipient's valid phone number (International format). Example: | ||
string | — | Language code (Default: en). Example: | |
string | — | Optional custom text to append to the message. Example: |
Request Samples
Use these ready-to-go code snippets to integrate our API into your project quickly and efficiently. Choose your preferred language and library.
Expected Responses
Explore all possible responses and outcomes from the server. We have documented each status code with data examples to make success and error handling easier.
Example
{
"code": "success",
"message": "Verification code sent successfully",
"expires_in": 300,
"job_id": "send_123_456"
}Command Palette
Search for a command to run...