すべてのエンドポイント

開発者向け / StrawPoll API / Zapier

Sample responses

GET/zapier/responses

Up to three of the latest responses for event, in the shape a hook receives them, for setting up a Zap. Without matching responses (and always for response.deleted) it answers with one example built from the poll's questions, marked test: true.

APIキーが必要です。

パラメーター

クエリ

  • event string

    Defaults to response.created.

    指定できる値: response.created response.updated response.deleted

  • form_id string (uuid)

    One poll the account owns; without it, all of them.

レスポンス

The samples, newest first.

  • id string

    Unique per response and change, for Zapier to tell deliveries apart.

  • event string

    指定できる値: response.created response.updated response.deleted

  • delivery_id string
  • test boolean

    true for samples built without a real response.

  • form_id string (uuid)
  • form_name string | null
  • form_title string | null
  • form_url string (uri)
  • response_id string
  • submitted_at string (date-time) | null
  • updated_at string (date-time) | null
  • deleted_at string (date-time) | null
  • respondent_name string | null
  • respondent_email string | null
  • respondent_phone string | null
  • comment string | null
  • answers object
  • answer_list array of object

試してみる

キーを作成

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

GET https://strawpoll.com/api/v4/zapier/responses

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

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