v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-07186533829.2 KB
product:chat

Create poll

Creates a new poll

post/polls

Request body

allow_answersboolean

Indicates whether users can suggest user defined answers

allow_user_suggested_optionsboolean
customobject

Custom data for this object

descriptionstring

A description of the poll

enforce_unique_voteboolean

Indicates whether users can cast multiple votes

idstring
is_closedboolean

Indicates whether the poll is open for voting

max_votes_allowedinteger

Indicates the maximum amount of votes a user can cast

namestring required

The name of the poll

user_idstring
voting_visibility'anonymous' | 'public'

Response

Successful response

durationstring required

Duration of the request in milliseconds