Parameters
Path
slugstring required max. 20The form's public id, as in
https://strawpoll.com/r/{slug}.
Request body application/json
actionstring requiredOne of:
sendverifyemailstring (email) requiredcodestringvoteTokenstringWith
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.
Responses
{ "sent": true, "resendIn": 60 } or { "verified": true }.
Try it
Sent from your browser straight to the API, nowhere else. With “Remember” on it stays until you close this tab. A read-only key lets you look around without changing anything.
https://new.strawpoll.com/api/v4/forms/{slug}/verifyRequests with a key count against your plan’s daily API requests.