Send a one-time code with your approved WhatsApp authentication template. You send a flat body: the template (event), the recipient and the code. The gateway places the code where an authentication template expects it: in the message body and in the copy-code button.
You generate the code and check it yourself. To have TextPeak generate and verify the code, use OTP Auth Request instead.
One request sends one message. sender is the WhatsApp Business number the template is sent from.
Response. HTTP 200 with a task_id and one entry per message. status is false when any message failed: failed entries come first and carry error (hex code) and details; accepted entries carry message_uuid (and conversation_uuid on two-way channels). Match entries by internal_id. Final delivery status is sent asynchronously to your configured webhook.
Authentication: channel token in the Authorization header (see Authentication in the API Overview).
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||