Error
A valid request URL is required to generate request examples{
"id": "<string>",
"event_type": "message.incoming.received",
"target_url": "<string>",
"signing_secret": "whsec_8f3c…",
"status": "active",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}Webhooks
Create a webhook subscription
Subscribes a target_url to a single event type (REST Hooks model — one
subscription per event type per URL). The response includes the
plaintext signing_secret once — store it now; it is never returned
again. Use it to verify the X-Dialbird-Signature on every delivery.
POST
/
subscriptions
Error
A valid request URL is required to generate request examples{
"id": "<string>",
"event_type": "message.incoming.received",
"target_url": "<string>",
"signing_secret": "whsec_8f3c…",
"status": "active",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"request_id": "<string>",
"field": "<string>"
}
}Authorizations
Body
application/json
Response
Subscription created.
Was this page helpful?
.png)