cURL
curl --request POST \ --url https://{server-url}/group/sendInvite/{instance} \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data '{ "groupJid": "<string>", "description": "<string>", "numbers": [ "<string>" ] }'
{ "send": true, "inviteUrl": "https://chat.whatsapp.com/DgQvyfXzY01B6rGrpZpYze" }
Your authorization key header
Name of the instance
Group remote JID
Description to send with the invitation
Numbers to receive the invitation
Ok
Indicates if the invite was sent successfully.
The URL for the WhatsApp group invite.