POST
Create Community
Create a new community (subject, description).
API endpoint
https://waclient.com/api/create_communityExample:
curl -X POST \
'https://waclient.com/api/create_community' \
-H 'Content-Type: application/json' \
--data '{
"subject": "My Community",
"description": "Welcome",
"instance_id": "6A4B02A1XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'Response
{
"status": "success",
"message": "Success",
"data": {
"id": "[email protected]",
"subject": "My Community"
}
}| Parameter | Description |
|---|---|
| subject | Community name |
| description | Optional description (Optional) |
| instance_id | Your instance ID |
| access_token | Your access token |