Tutti gli endpoint

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

Richiede una chiave API.

Corpo della richiesta application/json

  • url string (uri) obbligatorio

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

  • event string obbligatorio

    Uno tra: 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.

Risposte

The subscription.

  • id string (uuid)
  • event string

    Uno tra: response.created response.updated response.deleted

  • form_id string (uuid) | null

Provalo

Crea una chiave

Inviata dal tuo browser direttamente all’API, da nessun’altra parte. Con «Ricorda» viene conservata finché non chiudi questa scheda. Con una chiave di sola lettura puoi esplorare senza cambiare nulla.

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

Incolla una chiave API per inviare le richieste che ne hanno bisogno.

Le richieste con chiave contano nelle richieste API giornaliere del tuo piano.