sendGroup | Multiple groups
POST
/sendGroup/APIKEYSend Group Message
Use this endpoint to send a message to several groups at the same time
Request Body
groupId[]
(text): WhatsApp Group ID (array)message
(text): Text Messageurl
(text): Media URL (image, sound, video, ...)
Request
Body Params multipart/form-data
groupId[]
array[string]
required
WhatsApp Group ID (array)
Example:
["120363292564959780","120363293575057977"]
message
string
required
Text Message
Example:
This is a test message
link
string
optional
Media URL (image, sound, video, ...)
Example:
https://example.com/image.jpg
Request samples
Responses
sendGroup(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
0
object
required
groupId
string
required
messageId
integer
required
1
object
required
groupId
string
required
messageId
integer
required
success
string
required
messages
string
required
ExamplesendGroup
{
"0": {
"groupId": "120363292564959780",
"messageId": 647
},
"1": {
"groupId": "120363293575057977",
"messageId": 648
},
"success": "true",
"messages": "Added to the message queue"
}
Last modified: 2 months ago