cURL
curl --request POST \ --url https://api.z-api.io/instances/{instanceId}/token/{token}/send-event \ --header 'Client-Token: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "phone": "<string>", "event": { "name": "<string>", "dateTime": "<string>", "description": "<string>", "timeZone": "<string>", "location": { "name": "<string>" }, "callLinkType": "<string>", "canceled": true } } '
Send an event message to a group
Documentation IndexFetch the complete documentation index at: https://developer.z-api.io/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://developer.z-api.io/llms.txt
Use this file to discover all available pages before exploring further.
Show Properties
voice
video
{ "phone": "120363019502650977-group", "event": { "name": "Event name", "description": "Event description", "dateTime": "2024-04-29T09:30:53.309Z", "timeZone": "UTC-3", "location": { "name": "Place name" }, "callLinkType": "voice", "canceled": false } }
{ "zaapId": "3999984263738042930CD6ECDE9VDWSA", "messageId": "D241XXXX732339502B68", "id": "D241XXXX732339502B68" }