Appearance
Add Member To Group
About 123 wordsLess than 1 minute
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
POST https://app.rapiwa.com/api/group/add-memberHeader
Content-Type: application/json
Authorization: Bearer Your_Device_KeyBody
{
"group_id": "123XXXXXXXXXXXXXX@g.us",
"participants": [
"+88018XXXXXXXXX"
]
}###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.
