すべてのエンドポイント

開発者向け / StrawPoll API / Responses

List responses

GET/forms/{slug}/responses

Every response, newest first, including invalidated ones (marked as such). total counts invalidated responses too. In a secret ballot (responsesVisibility: secret) name, email, phone, code, countryCode and weight are null, and fields leaves out the answers to name, email, contact, address, signature and sign-up sheet questions.

APIキーが必要です。

パラメーター

パス

  • slug string 必須 max. 20

    The form's public id, as in https://strawpoll.com/r/{slug}.

クエリ

  • limit integer ≥ 1, ≤ 100

    デフォルト: 50

  • offset integer ≥ 0

    デフォルト: 0

レスポンス

A page of responses.

  • data array of Response
  • pagination object

試してみる

キーを作成

ブラウザからAPIへ直接送られ、ほかには送られません。「記憶する」をオンにすると、このタブを閉じるまで保持されます。 読み取り専用キーなら、何も変更せずに試せます。

GET https://new.strawpoll.com/api/v4/forms/{slug}/responses

キーが必要なリクエストを送るには、APIキーを貼り付けてください。

キーを使ったリクエストは、プランの1日あたりのAPIリクエスト数に含まれます。