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"
}
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
Ok
The response is of type object
.