List subscriptions
GET /webhooks/subscription
List all webhook subscriptions the API consumer’s brand.
All webhook subscriptions will be returned, including subscriptions which are not currently active.
Response
Create subscription
POST /webhooks/subscription
Create a new webhook subscription in the API consumer’s brand.
Input
event string | Required. Event to subscribe to (currently only site.publish is supported) |
url string | Required. URL of webhook. |
active boolean | Required. |
Response
Status: 201 Created
Update subscription
PUT /webhooks/subscription/:subscriptionId
Update a Webhook subscription.
Input
event string | Required. Event to subscribe to (currently only site.publish is supported) |
url string | Required. URL of webhook. |
active boolean | Required. |
Response
Status: 200 OK