cURL
curl --request GET \ --url https://{server-url}/group/inviteCode/{instance} \ --header 'apikey: <api-key>'
{ "inviteUrl": "https://chat.whatsapp.com/DgQvyfXzY01B6rGrpZpYze", "inviteCode": "DgQvyfXzY01B6rGrpZpYze" }
Fetch group invite code
Your authorization key header
ID of the instance to connect
Group remote JID
Ok
The response is of type object.
object