Skip to main content

Overview

Use these endpoints to queue OTP messages and raw WhatsApp payloads for delivery.
These endpoints queue messages for async processing. A successful 200 OK response means the request was accepted for processing, not that the message has already been delivered.

Available endpoints

Send OTP message

Send one OTP through Modawer’s official WhatsApp account.

Send OTP from your WhatsApp account

Send OTPs from a connected WhatsApp Business account.

Send raw message

Queue a raw WhatsApp template payload.

Shared behavior

  • Authentication is handled with the X-API-KEY header.
  • Route-level JWT authentication is not required.
  • When a dev token is used, messages are routed to the app’s linked Telegram chats instead of the provided recipient.
  • Send OTP Message uses Modawer’s official WhatsApp account and is the fastest way to start sending OTPs.
  • To send OTPs from a custom sender ID, use Send OTP from Your WhatsApp Account.
  • OTP templates require a verified WhatsApp Business Account (WABA) when using your own sender.
  • Utility and marketing templates can be sent from a linked WhatsApp account without completing business verification.

Request conventions

  • JSON property names are camelCase.
  • OTP messages use the built-in otp_code_1 authentication template.
  • Raw messages wrap the WhatsApp payload in a top-level payload object.

Next pages

Link WABA account

Connect your WhatsApp Business Account and custom sender.

Number migration

Move an existing WhatsApp API number to Modawer.

Authentication

Learn how app tokens and dev tokens behave.