Skip to navigation

Create Poll

Add a poll, at the end of the event’s list unless sortOrder says where. See CreatePollRequest for the limits. Opening a poll closes the live one: created with status: LIVE, it closes whichever poll was live in the event.

Authentication

AuthorizationBearer

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

Path parameters

eventIdstringRequired

Request

This endpoint expects an object.
typeenumRequired
questionstringRequired
statusenumOptional
DRAFT unless given.
Allowed values:
allowMultiplebooleanOptional
isAnonymousbooleanOptional
ratingMaxintegerOptional
RATING polls' points on the scale, 2 to 10. Default 5.
timeLimitSecintegerOptional
5 to 600 seconds.
sortOrderintegerOptional
Its place in the event's list. Left out, after the last.
optionslist of objectsOptional

Response

This endpoint returns an object.
idstring
eventIdstring
typeenum
questionstring
statusenum
Allowed values:
allowMultipleboolean
isAnonymousboolean
ratingMaxinteger
sortOrderinteger
optionslist of objects
createdAtdatetime
updatedAtdatetime
timeLimitSecintegerOptional
responseCountintegerOptional
launchedAtdatetimeOptional
When it last went live. Every opening is stamped anew, since a quiz times its answers from it.
closedAtdatetimeOptional

When it was closed; cleared when it goes live again or back to DRAFT.

Errors

403
Forbidden Error
404
Not Found Error
422
Validation Error
429
Too Many Requests Error