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": "xxx@g.us" }'
{ "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>
GroupInvitationCodeResource
The response is of type object.
object
Was this page helpful?