POSThttps://whatsapp-notification.montymobile.com/api/v2/WhatsappApi/send-otp
Send OTP
Deliver a one-time passcode using a pre-approved OTP template. The code is injected at send time through the template's body parameter.
Request body
| Parameter | Type | Required | Description |
|---|---|---|---|
to | String | Yes | Recipient MSISDN, digits only. |
type | String | Yes | Always "template". |
source | String | Yes | WhatsApp-approved sender under your WABA. |
template | Object | Yes | Template container. |
template.name | String | Yes | Approved OTP template name. |
template.language.code | String | Yes | ISO 639-1 code, e.g. en. |
template.components | Array | Yes | Component objects; OTP is typically one body. |
Try it
Try itSimulate the delivery lifecycle
POSTwhatsapp-notification.montymobile.com/api/v2/WhatsappApi/send-otpSimulated · no message is actually sent
Responses
The success and error response bodies for WhatsApp v2 are being finalized. Coming soon