パラメーター
パス
slugstring 必須 max. 20The form's public id, as in
https://strawpoll.com/r/{slug}.
リクエストボディ application/json
countinteger 必須 ≥ 1, ≤ 10000lengthinteger 必須 ≥ 4, ≤ 32stylestring指定できる値:
alphanumericnumericlettersデフォルト:
alphanumericprefixstring max. 20
レスポンス
The new codes.
dataarray of Invite
試してみる
ブラウザからAPIへ直接送られ、ほかには送られません。「記憶する」をオンにすると、このタブを閉じるまで保持されます。 読み取り専用キーなら、何も変更せずに試せます。
POST
https://new.strawpoll.com/api/v4/forms/{slug}/codesキーが必要なリクエストを送るには、APIキーを貼り付けてください。
キーを使ったリクエストは、プランの1日あたりのAPIリクエスト数に含まれます。