Tutti gli endpoint

Sviluppatori / StrawPoll API / Voting

Get a vote token

GET/forms/{slug}/vote-token

A vote token for one new response from a browser, sent in voteToken with POST /forms/{slug}/submit. The voting page gets one when it loads; this is for pages that show the poll elsewhere, and for a page whose token ran out after 12 hours. It belongs to the poll and the network it was fetched from. Known bots, scripts and AI agents are refused with automated.

Funziona senza chiave API da un browser; gli script ne inviano una.

Parametri

Percorso

  • slug string obbligatorio max. 20

    The form's public id, as in https://strawpoll.com/r/{slug}.

Risposte

The token.

  • token string

Provalo

Crea una chiave

Inviata dal tuo browser direttamente all’API, da nessun’altra parte. Con «Ricorda» resta finché non chiudi questa scheda. Con una chiave di sola lettura puoi esplorare senza cambiare nulla.

GET https://new.strawpoll.com/api/v4/forms/{slug}/vote-token

Le richieste con chiave contano nelle richieste API giornaliere del tuo piano.