Create a webhook
Changed onCreates a new webhook endpoint. When events occur (e.g. feedback_record.created), the Hub POSTs a signed payload to the webhook URL. If signing_key is omitted, a key is auto-generated (Standard Webhooks format, whsec_...). tenant_id is required; webhooks only receive events from that exact tenant. See WebhookDeliveryPayload for the payload structure sent to your URL.
Request
- Base URLhttp://localhost:8080
- URLhttp://localhost:8080/v1/webhooks
- AuthHTTP bearer
Request body
Example request
{
"url": "https://example.com/hub-events",
"signing_key": "whsec_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"tenant_id": "org-123"
}Response
Created
Changes
- warning
changed the pattern of the request property
from^[^\x00]*$to^[^\x00\uFFFD]*$ - info
added the non-success response with the status
- warning
- warning
added the new
content_too_largeenum value to theresponse property for the response status - warning
added the new
content_too_largeenum value to theresponse property for the response status - warning
added the new
content_too_largeenum value to theresponse property for the response status - warning
added the new
content_too_largeenum value to theresponse property for the response status
- warning