WhatsApp quickstart
Send your first WhatsApp message using an approved OTP template.
Before you begin
- An API token and tenant ID — see Getting started.
- An approved template and a WhatsApp-approved sender (
source) under your WABA. - Familiarity with templates & components.
Send an OTP
curl -X POST "https://whatsapp-notification.montymobile.com/api/v2/WhatsappApi/send-otp" \
-H "api-key: <Your_API_Key>" \
-H "Tenant: <Tenant_ID>" \
-H "Content-Type: application/json" \
-d '{
"to": "<Recipient_Phone_Number>",
"type": "template",
"source": "<Source_Number>",
"template": {
"name": "<Template_Name>",
"language": { "code": "<Language_Code>" },
"components": [
{ "type": "body", "parameters": [ { "type": "text", "text": "123456" } ] }
]
}
}'