v1

latestOpenAPI 3.1.02026-07-1413113265.9 KB
message

send event message

Creates and sends a calendar event message to a specified chat.

post/instances/{id}/client/action/send-event

Path parameters

idinteger required

Instance ID

Request body

chatIdstring required

Chat ID <countrycode_short><usernumber>@c.us or @g.us for groups

namestring required

Name of the event

descriptionstring

Optional description of the event

locationstring

Optional location of the event

callType'video' | 'voice' | 'none'

Optional call type for the event

Example request

{
  "chatId": "50664083362@c.us",
  "name": "Team Meeting",
  "description": "Weekly sync meeting",
  "location": "Conference Room A",
  "callType": "video"
}

Response

Event message sent successfully

status'success' | 'error'
instanceIdstring

Example response

{
  "status": "success",
  "instanceId": "1",
  "data": {
    "type": "event_creation"
  }
}