---
title: "send event message"
method: POST
path: "/instances/{id}/client/action/send-event"
tags: ["message"]
---

# send event message

`POST /instances/{id}/client/action/send-event`

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

## Path parameters

- `id` integer, required

## Request body

- object
  - `chatId` string, required — Chat ID <countrycode_short><usernumber>@c.us or @g.us for groups
  - `name` string, required — Name of the event
  - `startTime` union, required — Event start time as ISO 8601 string or Unix timestamp (seconds)
    - string
    - integer
  - `description` string — Optional description of the event
  - `endTime` union — Optional event end time as ISO 8601 string or Unix timestamp (seconds)
    - string
    - integer
  - `location` string — Optional location of the event
  - `callType` 'video' | 'voice' | 'none' — Optional call type for the event

## Response `200`

Event message sent successfully

- object
  - `status` 'success' | 'error'
  - `instanceId` string
  - `data` object — The sent event message
    - `id` object — Message ID object
    - `body` string — Message body
    - `type` string
    - `timestamp` integer — Unix timestamp
    - `from` string — Sender ID
    - `to` string — Recipient chat ID
    - `isViewOnce` boolean — Whether the message is a view-once message
    - `eventName` string — Name of the event
    - `eventStartTime` integer — Event start time as Unix timestamp
    - `eventEndTime` integer, nullable — Event end time as Unix timestamp, or null if not set
    - `eventDescription` string, nullable — Event description, or null if not set
    - `eventLocation` string, nullable — Event location, or null if not set
    - `eventJoinLink` string, nullable — Video or voice call join link, or null if not set
    - `isEventCanceled` boolean — Whether the event is marked as canceled

## Other responses

- `401` — Unauthorized — invalid or missing bearer token
- `403` — Forbidden — insufficient permissions or account blocked
- `404` — Not found — instance does not exist or does not belong to you
- `409` — Conflict — instance is not ready
- `422` — Validation error — invalid or missing request parameters
- `429` — Too many requests — rate limit exceeded

---

[API](https://skmtc.net/waapi/apis/waapi-api.md) · [All operations](https://skmtc.net/waapi/apis/waapi-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/waapi/waapi-api/revisions/1e2cc7c12090/schema)
