POST
Create Event
Send an event message to a community group.
API endpoint
https://waclient.com/api/create_community_eventExample:
curl -X POST \
'https://waclient.com/api/create_community_event' \
-H 'Content-Type: application/json' \
--data '{
"community_id": "[email protected]",
"group_id": "[email protected]",
"name": "Community Meetup",
"startTime": 1783496908,
"instance_id": "6A4B02A1XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'Response
{
"status": "success",
"message": "Success",
"data": {
"community_id": "[email protected]",
"sent": true
}
}| Parameter | Description |
|---|---|
| community_id | Community JID or ID |
| group_id | Target group JID inside the community |
| name | Event title |
| startTime | Unix timestamp (seconds) |
| instance_id | Your instance ID |
| access_token | Your access token |