Add Members
POST /api/group/add-member
- Auth: Bearer Device Key
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
group_id | string | ✔ | |
participants | string[] | ✔ | ≥ 1 phone number |
Request
curl -X POST https://app.rapiwa.com/api/group/add-member \
-H "Authorization: Bearer YOUR_DEVICE_KEY" \
-H "Content-Type: application/json" \
-d '{"group_id":"120363000000000000@g.us","participants":["8801555555555"]}'
Response
{
"success": true,
"data": {
"result": [
{ "status": "200", "jid": "8801555555555@s.whatsapp.net", "content": { } }
]
}
}
Each entry carries a per-participant status code (e.g. 200 added, 403 privacy settings block, 409 already a member), the resolved jid, and the raw content node.