Skip to main content
POST
Create webhook

Авторизації

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

API token from the Zenedu dashboard

Тіло

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

Destination URL that will receive webhook deliveries

Maximum string length: 2048
events
enum<string>[]
обов'язково

Event types to subscribe to. At least one is required.

Minimum array length: 1
Доступні опції:
order.created,
order.status.changed,
subscriber.added,
product.subscriber.added,
funnel.subscriber.added,
subscriber.contact.created,
subscription.cancelled,
tag.added,
message.received,
message.sent
description
string | null

Optional description included in the body of every delivery

Maximum string length: 255
is_active
boolean
за замовчуванням:true

Whether the subscription is active on creation

Відповідь

Webhook subscription created

data
object