Overview
Send SMS or WhatsApp messages
Credits
1 credit per call
Providers
HttpSMSWhatsApp
SDK Method
client.send_message(...)
Parameters
toRequiredstring
Phone number (E.164).
messageRequiredstring
Message text.
channelselect (default: auto)
Delivery channel.
Auto
SMS
WhatsApp
Example Response
{
"success": true,
"data": {
"message_id": "wamid.HBgNMTIzNDU2Nzg5MDIA",
"channel": "whatsapp",
"to": "+1234567890",
"status": "sent"
},
"metadata": {
"provider_used": "whatsapp",
"providers_tried": [
"whatsapp"
],
"mode_used": null,
"response_time_ms": 620,
"request_id": "req_yza567"
},
"credits_used": 1
}Get Started
Use this API through the O-mega platform. Create an API key in your dashboard, then call the endpoint with your key in the Authorization header.