Paramètres
Chemin
idstring obligatoire max. 20The poll's id, as in
https://strawpoll.com/r/{id}. The same as its form's slug.
Réponses
The 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.
Parmi:
multiple_choicerankingranked_choicemeetingstatusstringdeletedandblockedare set by moderation; such forms cannot be changed.Parmi:
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
Essayer
Envoyée depuis votre navigateur directement à l’API, nulle part ailleurs. Avec « Mémoriser », elle reste jusqu’à la fermeture de cet onglet. Une clé en lecture seule permet d’explorer sans rien modifier.
https://new.strawpoll.com/api/v4/polls/{id}Collez une clé d’API pour envoyer les requêtes qui en demandent une.
Les requêtes avec une clé comptent dans les requêtes d’API quotidiennes de votre offre.