Перейти до основного вмісту

UpdateWebhookDto

targetUrlstring
Example: https://example.com/webhooks/crm-v2
eventsstring[]

Possible values: [booking.created, booking.confirmed, booking.cancelled, booking.completed, booking.no_show, booking.rescheduled, client.created, client.updated, review.created, payment.received, payment.refunded, staff.schedule_updated, service.updated, service.deleted]

descriptionstring
statusstring

Possible values: [active, inactive]

UpdateWebhookDto
{
"targetUrl": "https://example.com/webhooks/crm-v2",
"events": [
"booking.created"
],
"description": "string",
"status": "active"
}