POST
Send Channel Invite
Send a channel invite link to a contact via WhatsApp message.
API endpoint
https://waclient.com/api/send_channel_inviteExample:
curl -X POST \
'https://waclient.com/api/send_channel_invite' \
-H 'Content-Type: application/json' \
--data '{
"channel_id": "1203634123522XXXXX@newsletter",
"number": "20100981XXXX",
"instance_id": "6A4B02A1XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'Response
{
"status": "success",
"message": "Success",
"data": {
"channel_id": "1203634123522XXXXX@newsletter",
"invite_code": "INVITECHANNEL123",
"invite_link": "https://whatsapp.com/channel/INVITECHANNEL123"
}
}| Parameter | Description |
|---|---|
| channel_id | Channel JID (WhatsApp uses @newsletter suffix), e.g. 1203634123522XXXXX@newsletter |
| number | Phone number or WhatsApp JID, e.g. 20100981XXXX |
| message | Optional caption before the link (Optional) |
| instance_id | Your instance ID |
| access_token | Your access token |