| title | Fetch Invite Code - Evolution API Documentation | |||||
|---|---|---|---|---|---|---|
| url | https://doc.evolution-api.com/v2/api-reference/group-controller/fetch-invite-code | |||||
| source | sitemap | |||||
| fetched_at | 2026-04-12 18:50:39 -0300 | |||||
| rendered_js | false | |||||
| word_count | 36 | |||||
| summary | This document illustrates the endpoint and method for retrieving a WhatsApp group's invite URL and associated invite code using an API request. | |||||
| tags |
|
|||||
| category | reference |
curl --request GET \
--url https://evolution-example/group/inviteCode/{instance} \
--header 'apikey: <api-key>'
{
"inviteUrl": "https://chat.whatsapp.com/DgQvyfXzY01B6rGrpZpYze",
"inviteCode": "DgQvyfXzY01B6rGrpZpYze"
}
GET
/
group
/
inviteCode
/
{instance}
curl --request GET \
--url https://evolution-example/group/inviteCode/{instance} \
--header 'apikey: <api-key>'
{
"inviteUrl": "https://chat.whatsapp.com/DgQvyfXzY01B6rGrpZpYze",
"inviteCode": "DgQvyfXzY01B6rGrpZpYze"
}
Your authorization key header
The URL for the WhatsApp group invite.
The code for the WhatsApp group invite.