Request body application/json
titlestring required max. 255The question.
optionsarray of string requiredThe answers to choose from, at least two (one for meeting polls).
typestringmultiple_choice: pick one option, or several withallowMultiple.ranking: order the options; each place earns points.ranked_choice: rank the options; an instant runoff finds the majority winner.meeting: mark which dates and times work.
One of:
multiple_choicerankingranked_choicemeetingdescriptionstring max. 2000Text under the question.
statusstringOne of:
draftpublishedDefault:
publishedworkspaceIdstring (uuid)Defaults to the workspace your new polls go to.
allowMultiplebooleanDefault:
falseallowOtherbooleanDefault:
falserequireNamesbooleanDefault:
falseresultsVisibilitystringOne of:
publicpublic_after_responsepublic_after_closeprivateduplicateCheckstringOne of:
nonesessionipnameemailcodeclosesAtstring (date-time) | nulltimezonestringMeeting polls: the time zone of the slots. Default UTC.
Responses
The created poll.
idstringThe poll's id, as in https://strawpoll.com/r/{id}.
titlestringdescriptionstringtypestringmultiple_choice: pick one option, or several withallowMultiple.ranking: order the options; each place earns points.ranked_choice: rank the options; an instant runoff finds the majority winner.meeting: mark which dates and times work.
One of:
multiple_choicerankingranked_choicemeetingstatusstringdeletedandblockedare set by moderation; such forms cannot be changed.One of:
draftpublishedarchiveddeletedblockedisOpenbooleanvoteCountintegerHow many people voted.
optionsarray of PollOptionotherAnswersarray of objectAnswers voters added themselves, when
allowOtheris on.winnerstring | nullRanked choice only.
tiedarray of stringRanked choice only; the options tied for the win.
roundsintegerRanked choice only.
settingsPollSettingsurlsPollUrlscreatedAtstring (date-time)updatedAtstring (date-time) | null
Try it
Sent from your browser straight to the API, nowhere else. With “Remember” on it stays until you close this tab. A read-only key lets you look around without changing anything.
https://new.strawpoll.com/api/v4/pollsPaste an API key to send requests that need one.
Requests with a key count against your plan’s daily API requests.