Create a Poll in a Channel

Creates a new poll within a specified channel using the provided poll data.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The unique ID of the channel to create the poll in

Body Params

Poll data required to create a new poll

string
required

Question of the poll

number

How long the question will be avaliable to vote (in milliseconds)

boolean
Defaults to true

Show the votes result to users

string
required
Defaults to []

Possible anwsers for the question

Responses

400

Invalid poll data provided in the request body

401

Unauthorized due to missing or expired authentication token

404

The specified channel was not found

502

Server error prevented poll creation

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json