Todos os endpoints

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

Requer uma chave de API.

Parâmetros

Query

  • event string

    Defaults to response.created.

    Um de: response.created response.updated response.deleted

  • form_id string (uuid)

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

Respostas

The samples, newest first.

  • id string

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

  • event string

    Um de: 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

Experimente

Criar uma chave

Enviada do seu navegador diretamente para a API, para nenhum outro lugar. Com “Lembrar”, é mantida até você fechar esta aba. Uma chave somente leitura permite explorar sem alterar nada.

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

Cole uma chave de API para enviar as requisições que precisam de uma.

Requisições com chave contam para as requisições de API diárias do seu plano.