Skip to main content
POST
/
messages
/
send-otp
Send OTP message
curl --request POST \
  --url https://modawer.com/api/messages/send-otp \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <x-api-key>' \
  --data '
{
  "recipient": "<string>",
  "otp": "<string>",
  "channels": [
    "WhatsApp"
  ]
}
'
{
  "queued": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.modawer.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

X-API-KEY
string
required

Body

application/json
recipient
string
required
otp
string
required
channels
enum<string>[]
Available options:
WhatsApp,
Telegram

Response

200 - application/json

OK

queued
boolean
required