Mon-Fri 10am - 6pm
Create Group
Base URL for your account: https://cpaas.studio
POST
/api/whatsapp/v1/groups
A new group.
Parameters
| Param | Type | Required | Notes |
|---|---|---|---|
name |
string, max 100 | yes | Unique per account. |
description |
string | no |
Request example
curl -X POST "https://cpaas.studio/api/whatsapp/v1/groups" \
-H "X-API-KEY: cpk_xxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"name":"Kerala customers"}'
Success response (data)
{
"group": {
"uid": "WGR4K7Q2M9X",
"name": "Kerala customers",
"description": null,
"contacts_count": 1250
}
}
Need more context? See Getting started for authentication, the response envelope, and the full error-code reference.