Skip to navigation

Update Poll

Mostly how a poll is launched and closed, as the app’s Launch and Close do it. Opening a poll closes the live one: status: LIVE closes whichever poll was live in the event, so the room is always answering one poll.

Authentication

AuthorizationBearer

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

Path parameters

pollIdstringRequired

Request

This endpoint expects an object.
typeenumOptional
questionstringOptional
statusenumOptional

LIVE opens it and closes the poll that was live in the event: only one poll is live at a time.

Allowed values:
allowMultiplebooleanOptional
isAnonymousbooleanOptional
ratingMaxintegerOptional
timeLimitSecintegerOptional
sortOrderintegerOptional

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