GET

https://{server-url}

/
group
/
inviteCode
/
{instance}
curl --request GET \
  --url https://{server-url}/group/inviteCode/{instance} \
  --header 'apikey: <api-key>'
{
  "inviteUrl": "https://chat.whatsapp.com/DgQvyfXzY01B6rGrpZpYze",
  "inviteCode": "DgQvyfXzY01B6rGrpZpYze"
}

Authorizations

apikey
string
headerrequired

Your authorization key header

Path Parameters

instance
string
required

ID of the instance to connect

Query Parameters

groupJid
string
required

Group remote JID

Response

200 - application/json
inviteUrl
string

The URL for the WhatsApp group invite.

inviteCode
string

The code for the WhatsApp group invite.