Todos los endpoints

Desarrolladores / StrawPoll API / Zapier

Subscribe a hook

POST/zapier/hooks

Subscribes a Zapier hook address to an event, for one poll (form_id) or, without it, for every poll the account owns. Answers with the id that unsubscribes it.

Requiere una clave de API.

Cuerpo de la petición application/json

  • url string (uri) obligatorio

    The Zap's hook address, https://hooks.zapier.com/hooks/….

  • event string obligatorio

    Uno de: response.created response.updated response.deleted

  • form_id string (uuid) | null

    A poll the account owns (id from GET /zapier/polls); null for all of them.

Respuestas

The subscription.

  • id string (uuid)
  • event string

    Uno de: response.created response.updated response.deleted

  • form_id string (uuid) | null

Pruébalo

Crear una clave

Se envía desde tu navegador directamente a la API, a ningún otro sitio. Con «Recordar» se conserva hasta que cierres esta pestaña. Con una clave de solo lectura puedes explorar sin cambiar nada.

POST https://strawpoll.com/api/v4/zapier/hooks

Pega una clave de API para enviar las peticiones que la necesitan.

Las peticiones con clave cuentan para las peticiones de API diarias de tu plan.