Skip to main content
PUT
Update webhook

Authorizations

Authorization
string
header
required

API token from the Zenedu dashboard

Path Parameters

webhook
integer
required

Webhook subscription ID

Body

application/json
url
string<uri>
required

Destination URL that will receive webhook deliveries

Maximum string length: 2048
events
enum<string>[]
required

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

Minimum array length: 1
Available options:
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
default:true

Whether the subscription is active on creation

Response

Webhook subscription updated

data
object