Alle Endpunkte

Entwickler / 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.

Braucht einen API-Schlüssel.

Parameter

Query

  • event string

    Defaults to response.created.

    Einer von: response.created response.updated response.deleted

  • form_id string (uuid)

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

Antworten

The samples, newest first.

  • id string

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

  • event string

    Einer von: 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

Ausprobieren

Schlüssel erstellen

Wird von deinem Browser direkt an die API gesendet und an keine andere Stelle. Mit „Merken“ bleibt er gespeichert, bis du diesen Tab schließt. Mit einem Nur-Lesen-Schlüssel kannst du die API erkunden, ohne Daten zu ändern.

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

Füge einen API-Schlüssel ein, um Anfragen zu senden, die einen brauchen.

Anfragen mit Schlüssel zählen gegen die täglichen API-Anfragen deines Tarifs.