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
Authorization Code flow against Dialbird's OIDC provider. The issued
access token is a JWT with aud: "public-api", verified against the
issuer JWKS.
Body
application/json
Response
Subscription created.
Available options:
message.incoming.received, message.outgoing.delivered, call.incoming.completed, call.outgoing.completed Returned only at creation. Prefixed whsec_.
Example:
"whsec_8f3c…"
failing after consecutive delivery failures cross the warning
threshold; disabled after they cross the hard limit or the receiver
returns 410 Gone.
Available options:
active, failing, disabled Was this page helpful?
.png)