v53

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

Update poll

Updates a poll

Sends events:

  • feeds.poll.closed
  • feeds.poll.updated
  • poll.closed
  • poll.updated
put/polls

Request body

allow_answersboolean

Allow answers

allow_user_suggested_optionsboolean

Allow user suggested options

customobject

Custom data for this object

descriptionstring

Poll description

enforce_unique_voteboolean

Enforce unique vote

idstring required

Poll ID

is_closedboolean

Is closed

max_votes_allowedinteger

Max votes allowed

namestring required

Poll name

user_idstring
voting_visibility'anonymous' | 'public'

Voting visibility

Response

Successful response

durationstring required

Duration of the request in milliseconds