cURL
curl --request POST \ --url https://api.crunchz.app/api/groups/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "Group Name", "participants": [ { "id": "xxx@s.whatsapp.net" } ], "tag_ids": [ "tag-uuid-1", "tag-uuid-2" ] }'
{ "success": true, "message": "<string>", "data": { "id": "<string>", "name": "<string>", "restricted": true, "created_at": "<string>", "is_community": true, "actions": { "join_approval": true, "can_add_member": true }, "participant_count": 123 } }
Create a new WhatsApp group programmatically by specifying the group name and initial participants.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
CreateGroupResource
The response is of type object.
object
Was this page helpful?