Webhooks
Webhook endpoints and events.
Operations
- GETList webhook endpoints
/webhook-endpoints - POSTCreate a webhook endpoint
/webhook-endpoints - GETGet a webhook endpoint
/webhook-endpoints/{endpointId} - PATCHUpdate a webhook endpoint
/webhook-endpoints/{endpointId} - DELDelete a webhook endpoint
/webhook-endpoints/{endpointId} - POSTRotate a webhook secret
/webhook-endpoints/{endpointId}/rotate-secret - POSTSend a test event
/webhook-endpoints/{endpointId}/test - POSTRedeliver an event
/events/{eventId}/redeliver - GETGet a webhook delivery
/webhook-deliveries/{deliveryId} - GETList events
/events - GETGet an event
/events/{eventId}
The WebhookEndpoint object
A URL that receives events.
Attributes
objectstringRequiredThe object's type. Always "webhook_endpoint".
idstring (uuid)RequiredThe endpoint's id.
urlstring (uri)RequiredThe https URL events are POSTed to.
descriptionstring or nullRequiredYour description.
enabledEventsarray of stringRequiredThe event types sent here, or ["*"] for all.
statusstringRequiredenabled, or disabled (by you, or after 3 days of failed deliveries).
One ofenableddisabledapiVersionstringRequiredThe API version event payloads are rendered in.
secretstring or nullRequiredThe signing secret, cxwhsec_ followed by 43 characters. Returned only in the first answer when the endpoint is created and when its secret is rotated. A replay of the same Idempotency-Key answers null: if you lost the secret, rotate it.
createdByTokenIdstring (uuid) or nullRequiredThe API token that created the endpoint, or null when it was made in the panel.
updatedByTokenIdstring (uuid) or nullRequiredThe API token that last changed the URL, events or secret, or null when the panel did.
createdAtstring (date-time)RequiredWhen it was created.
livemodebooleanRequiredTrue for objects of your live account.
{
"object": "webhook_endpoint",
"id": "1f4b8e2d-6a9c-4d3f-a7e5-2c0b9d6f3a8e",
"url": "https://billing.acme.example/clouduxe/webhooks",
"description": "WHMCS production",
"enabledEvents": [
"service.provisioned",
"service.suspended",
"service.terminated",
"action.completed",
"invoice.created",
"invoice.overdue"
],
"status": "enabled",
"apiVersion": "2026-12-01",
"secret": "cxwhsec_4fT9qLm2Xv7Rk3Np8Wd1Zs6Hc0Yb5Ue2Ja9Gt4Qx7Lp",
"createdByTokenId": "0b7f3c2a-9e4d-4f1a-8c6b-5d2e7a9f1c3b",
"updatedByTokenId": "0b7f3c2a-9e4d-4f1a-8c6b-5d2e7a9f1c3b",
"createdAt": "2026-12-01T08:20:00Z",
"livemode": true
}