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 directly to the API and nowhere else. With “Remember” on it stays until you close this tab. A read-only key lets you explore the API without changing any data.
https://strawpoll.com/api/v4/forms/{slug}/verifyRequests with a key count against your plan’s daily API requests.