POST
Send Group Invite Link
Send a group invite message to a contact via WhatsApp.
API endpoint
https://waclient.com/api/send_group_inviteExample:
curl -X POST \
'https://waclient.com/api/send_group_invite' \
-H 'Content-Type: application/json' \
--data '{
"group_id": "[email protected]",
"number": "20100981XXXX",
"message": "Join our group!",
"instance_id": "6A4B02A1XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'Response
{
"status": "success",
"message": "Success",
"data": {
"group_id": "[email protected]",
"invite_code": "INVITECODE123",
"invite_link": "https://chat.whatsapp.com/INVITECODE123"
}
}| Parameter | Description |
|---|---|
| group_id | Group JID, e.g. [email protected] or numeric id |
| number | Phone number or WhatsApp JID, e.g. 20100981XXXX |
| message | Optional caption on the invite message (Optional) |
| instance_id | Your instance ID |
| access_token | Your access token |