sendMsg | Multiple phone numbers
POST
/sendMsg/APIKEYIf you want to send a message to several WhatsApp numbers at the same time, use this method.
Message Size Limitation:
When sending outbound messages via our API service, please ensure that the total message size remains below the channel's maximum size limit. API requests containing media or multiple media files exceeding this limit will result in an error.
For WhatsApp messages, the maximum size limit is 100MB.
Request
Body Params multipart/form-data
phonenumber[]
array[string]
required
User Phone Number (Array)
Example:
["+15551234567","+15551234568"]
message
string
required
Text Message
Example:
This is a test messages
schedule
string
optional
Time to send a message in the future (Timestamp format should be based on UTC)
Set this field if needed. If you don't send this parameter, the message will be sent instantly.
Example:
1724160037
link
string
optional
Media URL (image, sound, video, ...)
Example:
https://example.com/image.jpg
Request samples
Responses
sendMsg | Group(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
0
object
required
phonenumber
string
required
messageId
integer
required
1
object
required
phonenumber
string
required
messageId
integer
required
success
string
required
messages
string
required
ExamplesendMsg | Group
{
"0": {
"phonenumber": "+15551234567",
"messageId": 566
},
"1": {
"phonenumber": "+15557654321",
"messageId": 567
},
"success": "true",
"messages": "Added to the message queue"
}
Last modified: 2 months ago