Parámetros
Ruta
slugstring obligatorio max. 20The form's public id, as in
https://strawpoll.com/r/{slug}.
Cuerpo de la petición application/json
actionstring obligatorioUno de:
sendverifyemailstring (email) obligatoriocodestringvoteTokenstringWith
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.
Respuestas
{ "sent": true, "resendIn": 60 } or { "verified": true }.
Pruébalo
Se envía desde tu navegador directamente a la API, a ningún otro sitio. Con «Recordar» se queda hasta que cierres esta pestaña. Con una clave de solo lectura puedes explorar sin cambiar nada.
https://new.strawpoll.com/api/v4/forms/{slug}/verifyLas peticiones con clave cuentan para las peticiones de API diarias de tu plan.