Skip to main content
POST
Create Zapier webhook

Authorizations

Authorization
string
header
required

API token from the Zenedu dashboard

Path Parameters

bot
integer
required

Bot ID

Body

application/json
hookUrl
string<uri>
required

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

trigger
enum<string>
required

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

Available options:
NewSubscriber,
NewOrder,
NewOrderStatus,
NewSubscriberContacts,
TagAssignedToSubscriber

Response

Webhook created

id
integer

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