Parametri
Percorso
slugstring obbligatorio max. 20The form's public id, as in
https://strawpoll.com/r/{slug}.
Corpo della richiesta application/json
actionstring obbligatorioUno tra:
sendverifyemailstring (email) obbligatoriocodestringvoteTokenstringWith
send: the vote token, seeGET /forms/{slug}/vote-token. Without one, the request gets the CAPTCHA.captchaTokenstringWith
send: a solved CAPTCHA, once acaptchaerror asked for one.
Risposte
{ "sent": true, "resendIn": 60 } or { "verified": true }.
Provalo
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.
https://new.strawpoll.com/api/v4/forms/{slug}/verifyLe richieste con chiave contano nelle richieste API giornaliere del tuo piano.