Parameter
Pfad
idstring Pflicht max. 20The poll's id, as in
https://strawpoll.com/r/{id}. The same as its form's slug.
Antworten
The poll.
idstringThe poll's id, as in https://strawpoll.com/r/{id}.
titlestringdescriptionstringtypestringmultiple_choice: choose 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.
Einer von:
multiple_choicerankingranked_choicemeetingstatusstringdeletedandblockedare set by moderation; such forms cannot be changed.Einer von:
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
Ausprobieren
Wird von deinem Browser direkt an die API gesendet und an keine andere Stelle. Mit „Merken“ bleibt er gespeichert, bis du diesen Tab schließt. Mit einem Nur-Lesen-Schlüssel kannst du die API erkunden, ohne Daten zu ändern.
https://strawpoll.com/api/v4/polls/{id}Füge einen API-Schlüssel ein, um Anfragen zu senden, die einen brauchen.
Anfragen mit Schlüssel zählen gegen die täglichen API-Anfragen deines Tarifs.