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": "[email protected]" } ], "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>
The Group Name
1 - 25
"Group Name"
256
Show child attributes
The Auto-Responder Tag IDs
10
The Auto-Responder Tag ID
1 - 50
["tag-uuid-1", "tag-uuid-2"]
CreateGroupResource
The success status of response.
The message of response.
Was this page helpful?