WhatsApp Business Cloud API - Groups Invite Link API | Developer Documentation
WhatsApp Business Cloud API - Groups Invite Link API
Copy for LLM
Version
The Groups API gives you simple functions to control groups through their lifecycle.
When you create a new group, an invite link is created for inviting participants to the group.
Since you cannot manually add participants to the group, simply send a message with your invite link to WhatsApp users who you would like to join the group.
Base
|
|
Endpoints
POST
/{Version}/{group_id}/invite_link
Request Syntax
Select language
curl--requestPOST \--url'https://graph.facebook.com/{Version}/{group_id}/invite_link'\--header'Authorization: Bearer <Token>'\--header'Content-Type: application/json'\--data'{}'
Select status code
{"messaging_product":"\"whatsapp\"","invite_link":"\"https:\\/\\/chat.whatsapp.com\\/LINK_ID\""}
Select language
Select status code
Authentication
Scheme
Type
Location
curl--requestPOST \--url'https://graph.facebook.com/{Version}/{group_id}/invite_link'\--header'Authorization: Bearer <Token>'\--header'Content-Type: application/json'\--data'{}'
{"messaging_product":"\"whatsapp\"","invite_link":"\"https:\\/\\/chat.whatsapp.com\\/LINK_ID\""}
DELETE /{Version}/{group_id}/invite_link
Request Syntax
curl--requestDELETE \--url'https://graph.facebook.com/{Version}/{group_id}/invite_link'\--header'Authorization: Bearer <Token>'\--header'Content-Type: application/json'\--data'{}'
{"messaging_product":"\"whatsapp\"","success":"\"true\""}
curl--requestDELETE \--url'https://graph.facebook.com/{Version}/{group_id}/invite_link'\--header'Authorization: Bearer <Token>'\--header'Content-Type: application/json'\--data'{}'
{"messaging_product":"\"whatsapp\"","success":"\"true\""}
Authentication
HTTP Bearer |
Header:
AuthorizationUsage Examples
bearerAuth:
Include
Authorization: Bearer your-token-here in request headersGlobal Authentication Requirements
All endpoints require:
bearerAuth