パラメーター
パス
slugstring 必須 max. 20The form's public id, as in
https://strawpoll.com/r/{slug}.
リクエストボディ application/json
actionstring 必須指定できる値:
sendverifyemailstring (email) 必須codestringvoteTokenstringWith
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.
レスポンス
{ "sent": true, "resendIn": 60 } or { "verified": true }.
試してみる
ブラウザからAPIへ直接送られ、ほかには送られません。「記憶する」をオンにすると、このタブを閉じるまで保持されます。 読み取り専用キーなら、何も変更せずに試せます。
https://new.strawpoll.com/api/v4/forms/{slug}/verifyキーを使ったリクエストは、プランの1日あたりのAPIリクエスト数に含まれます。