All endpoints

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

Needs an API key.

Request body application/json

  • url string (uri) required

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

  • event string required

    One of: 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.

Responses

The subscription.

  • id string (uuid)
  • event string

    One of: response.created response.updated response.deleted

  • form_id string (uuid) | null

Try it

Create a key

Sent from your browser directly to the API and nowhere else. With “Remember” on it stays until you close this tab. A read-only key lets you explore the API without changing any data.

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

Paste an API key to send requests that need one.

Requests with a key count against your plan’s daily API requests.