Add Member to Group¶
This endpoint allows you to add one or more participants to an existing WhatsApp group. You must supply a valid group_id and a list of phone numbers.
Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
group_id |
string | Yes | The WhatsApp group JID (example: 12345@g.us). |
participants |
array | Yes | Array of phone numbers to be added to the group. |
API Endpoint¶
Header¶
Body¶
Response:¶
{
"success": true,
"message": "Member added successfully",
"data": {
"status": true,
"message": "Members added successfully",
"result": [
{
"status": "200",
"jid": "XXXXXXXXXXXXXXX@lid",
"content": {
"tag": "participant",
"attrs": {
"jid": "XXXXXXXXXXXXXXX@lid",
"phone_number": "XXXXXXXXXXXXX@s.whatsapp.net"
}
}
}
]
}
}
💡 Tip: Keep your Device Key secure. Never share it publicly.