Bỏ qua để đến nội dung

POST /webhooks — đăng ký endpoint mới. Trả `secret` plaintext đúng một lần

API cho đối tácAdd-on
POST
/properties/{tenant_id}/webhooks
tenant_id
required
string
StoreWebhookEndpointRequest
object
url
required
string
<= 2048 characters
Example
https://partner.example/hooks/gohost
description
string | null
<= 255 characters
events
required
Array<string>
>= 1 items
Allowed values: booking.created booking.updated booking.cancelled booking.confirmed booking.checked_in booking.checked_out
string
Array

Validation error

object
message
required

Errors overview.

string
errors
required

A detailed description of each field that failed validation.

object
key
additional properties
Array<string>
Bài này có giúp được bạn không?