모든 엔드포인트

개발자 / 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.

API 키가 필요합니다.

요청 본문 application/json

  • url string (uri) 필수

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

  • event string 필수

    가능한 값: 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.

응답

The subscription.

  • id string (uuid)
  • event string

    가능한 값: response.created response.updated response.deleted

  • form_id string (uuid) | null

직접 해 보기

키 만들기

브라우저에서 API로만 직접 전송됩니다. ‘기억하기’를 켜면 이 탭을 닫을 때까지 유지됩니다. 읽기 전용 키를 사용하면 데이터를 변경하지 않고 API를 살펴볼 수 있습니다.

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

키가 필요한 요청을 보내려면 API 키를 붙여 넣으세요.

키를 사용한 요청은 요금제의 일일 API 요청 수에 포함됩니다.