cURL
curl --request GET \ --url https://api.crunchz.app/api/groups/invitation-code \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "group_id": "[email protected]" } '
{ "success": true, "message": "<string>", "data": { "code": "KHFAM4UWGUE7g75K1o7BFw", "url": "https://chat.whatsapp.com/KHFAM4UWGUE7g75K1o7BFw" } }
Generate an invitation code for a specific WhatsApp group to share access with new members.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The Group ID for which to generate an invitation code
"[email protected]"
GroupInvitationCodeResource
The success status of response.
The message of response.
Show child attributes
The invitation code for the group.
"KHFAM4UWGUE7g75K1o7BFw"
The WhatsApp group invitation URL.
"https://chat.whatsapp.com/KHFAM4UWGUE7g75K1o7BFw"
Was this page helpful?