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

# create poll message

`POST /instances/{id}/client/action/create-poll`

Creates and sends an interactive poll message to a specified chat. The poll can have between 2-12 options and optionally allow multiple selections.

## Path parameters

- `id` integer, required

## Request body

- object
  - `chatId` string, required — Chat ID <countrycode_short><usernumber>@c.us or @g.us for groups
  - `caption` string, required — The poll question or caption text
  - `options` string[], required — Array of poll options. Must contain between 2 and 12 options.
  - `multipleAnswers` boolean — When true, allows participants to select multiple options

## Response `200`

Poll created and sent successfully

- object
  - `status` 'success' | 'error'
  - `instanceId` string
  - `data` object
    - `id` object
      - `fromMe` boolean
      - `remote` string
      - `id` string
      - `_serialized` string
    - `ack` integer — Message acknowledgment status
    - `hasMedia` boolean
    - `body` string
    - `type` string — Message type identifier
    - `timestamp` integer — Unix timestamp when the message was sent
    - `from` string
    - `to` string
    - `pollName` string
    - `pollOptions` object[]
      - `name` string
      - `localId` integer — Zero-based index of the option
    - `allowMultipleAnswers` boolean — Indicates if multiple options can be selected
  - `links` object
    - `self` string

## 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)
