Skip to main content
POST
Create Zapier webhook

Авторизації

Authorization
string
header
обов'язково

API token from the Zenedu dashboard

Параметри шляху

bot
integer
обов'язково

Bot ID

Тіло

application/json
hookUrl
string<uri>
обов'язково

Destination URL that receives a POST request with the event data every time the trigger fires (Zapier's catch hook URL).

trigger
enum<string>
обов'язково

The event that triggers a POST with the event data to hookUrl.

Доступні опції:
NewSubscriber,
NewOrder,
NewOrderStatus,
NewSubscriberContacts,
TagAssignedToSubscriber

Відповідь

Webhook created

id
integer

ID of the created subscription. Pass it as hookId to the DELETE endpoint to unsubscribe.