Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

kind chooses what participants vote on: whole days (date) or time slots (time). The request mirrors the poll the API returns: the same settings, and options in the same shape as the response.

title
string
required
Required string length: 1 - 255
Example:

"Team sync"

kind
string
required

Participants vote on whole days.

Allowed value: "date"
options
Date option · object[]
required

Calendar days to offer. Dates are floating calendar days with no timezone, so never convert them through one. Duplicates are removed.

Minimum array length: 1
description
string
Maximum string length: 1000
Example:

"Pick a time that works for everyone"

location
string
Maximum string length: 255
Example:

"Zoom"

requireEmail
boolean

Require participants to provide their email address

Example:

true

hideParticipants
boolean

Hide participant names from other participants

Example:

false

hideScores
boolean

Hide vote counts from participants

Example:

false

disableComments
boolean

Disable the comments section. Defaults to true: new polls have comments disabled unless this is set to false.

Example:

false

allowTentativeVotes
boolean

Allow participants to answer "if need be" as well as yes and no. Defaults to true.

Example:

true

organizer
object

Organizer of the poll. Defaults to the space owner if not provided. The organizer must be a member of the space.

Response

Poll created

data
object
required