POST

https://{server-url}

/
group
/
sendInvite
/
{instance}
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"
}

Authorizations

apikey
string
headerrequired

Your authorization key header

Path Parameters

instance
string
required

ID of the instance to connect

Body

application/json
groupJid
string
required

Group remote JID

description
string

Description to send with the invitation

numbers
string[]
required

Numbers to receive the invitation

Response

200 - application/json
send
boolean

Indicates if the invite was sent successfully.

inviteUrl
string

The URL for the WhatsApp group invite.