Webhook Endpoint
whe_A WebhookEndpoint is an HTTPS URL that Officely sends matching Events to as they happen. Each request is signed with the endpoint's secret, following Standard Webhooks, and failed requests are retried for about 3 days. Officely disables an endpoint whose requests have failed for 3 days. Each Event sent to an endpoint is a WebhookDelivery you can read and resend.
webhook_endpoint.createPOST/webhook-endpointsoperationwebhook_endpoint.updatePATCH/webhook-endpoints/:webhook_endpointoperationwebhook_endpoint.enablePOST/webhook-endpoints/:webhook_endpoint/enableoperationwebhook_endpoint.disablePOST/webhook-endpoints/:webhook_endpoint/disableoperationwebhook_endpoint.archivePOST/webhook-endpoints/:webhook_endpoint/archiveoperationwebhook_endpoint.rotate_secretPOST/webhook-endpoints/:webhook_endpoint/rotate-secretoperationwebhook_endpoint.send_testPOST/webhook-endpoints/:webhook_endpoint/send-testoperationwebhook_delivery.resendPOST/webhook-deliveries/:webhook_delivery/resendoperationwebhook_endpoint.getGET/webhook-endpoints/:webhook_endpointquerywebhook_endpoints.listGET/webhook-endpointsqueryThe Webhook Endpoint object
#fieldswhe_).accountAccountIdacc_).created_atInstanteventsarray of string<object>.* for every Event about one kind of object, or * for every Event webhooks send. Wildcards also cover Events added to webhooks later. Webhooks don't send an Account's own account.created, account.archived or account.restored, a WebhookEndpoint's own Events, or favourite coworkers.objectwebhook_endpointwebhook_endpoint.statusstringenableddisabledarchivedupdated_atInstanturlstringLifecycle statuses
#statusesEvery described status value for webhook_endpoint.
archivedOfficely sends nothing to the WebhookEndpoint and it can't be changed. Its WebhookDeliveries are kept.
disabledOfficely sends nothing to the WebhookEndpoint, apart from tests and resends you ask for. Events that happen while it's disabled are never sent, and a retry that comes due while it's disabled fails for good.
enabledOfficely sends each matching Event to the WebhookEndpoint as it happens.
{
"account": "acc_011o61ia",
"created_at": "2026-08-11T09:30:00Z",
"events": [
"booking.created",
"booking.cancelled"
],
"id": "whe_008nf1uy",
"object": "webhook_endpoint",
"status": "enabled",
"updated_at": "2026-08-11T09:30:00Z",
"url": "https://example.com/officely/webhooks"
}Operations
#operationsMethods that change state.
/webhook-endpoints201Create a WebhookEndpoint. It starts enabled, so matching Events are sent from now on. The response includes the signing secret, which isn't shown again.
webhook_endpoint.managedescriptionstringOptionaleventsarray of stringRequiredbooking.created, <object>.* for every Event about one kind of object, or * for every Event webhooks send. Wildcards also cover Events added to webhooks later. Webhooks don't send an Account's own account.created, account.archived or account.restored, a WebhookEndpoint's own Events, or favourite coworkers. Up to 200 items, each listed once.urlstringRequiredcurl -X POST https://api.officely.app/webhook-endpoints \
-H "Authorization: Bearer $OFFICELY_TOKEN" \
-H "Officely-Version: 2026-08-11" \
-d '{
"events": [
"booking.created",
"booking.cancelled"
],
"url": "https://example.com/officely/webhooks"
}'/webhook-endpoints/:webhook_endpoint200Change a WebhookEndpoint's URL, Events, or description.
webhook_endpoint.managedescriptionstring | nullOptionalnull to remove it, or omit to leave it unchanged.eventsarray of stringOptionalbooking.created, <object>.* for every Event about one kind of object, or * for every Event webhooks send. Wildcards also cover Events added to webhooks later. Webhooks don't send an Account's own account.created, account.archived or account.restored, a WebhookEndpoint's own Events, or favourite coworkers. Up to 200 items, each listed once.urlstringOptionalwhe_).curl -X PATCH https://api.officely.app/webhook-endpoints/whe_01hms5o2 \
-H "Authorization: Bearer $OFFICELY_TOKEN" \
-H "Officely-Version: 2026-08-11"/webhook-endpoints/:webhook_endpoint/enable200Start sending matching Events again, from now on. Events that happened while it was disabled aren't sent. Clears disabled_reason and failing_since. Returns the WebhookEndpoint unchanged if it's already enabled.
webhook_endpoint.managewhe_).curl -X POST https://api.officely.app/webhook-endpoints/whe_01ye3vbc/enable \
-H "Authorization: Bearer $OFFICELY_TOKEN" \
-H "Officely-Version: 2026-08-11"/webhook-endpoints/:webhook_endpoint/disable200Stop sending Events. Requests waiting to be retried fail instead of being sent. Returns the WebhookEndpoint unchanged if it's already disabled.
webhook_endpoint.managewhe_).curl -X POST https://api.officely.app/webhook-endpoints/whe_00le3397/disable \
-H "Authorization: Bearer $OFFICELY_TOKEN" \
-H "Officely-Version: 2026-08-11"/webhook-endpoints/:webhook_endpoint/archive200Archive a WebhookEndpoint. Officely stops sending to it, and it can't be changed or enabled again. Its WebhookDeliveries are kept.
webhook_endpoint.managewhe_).curl -X POST https://api.officely.app/webhook-endpoints/whe_01ltuj9l/archive \
-H "Authorization: Bearer $OFFICELY_TOKEN" \
-H "Officely-Version: 2026-08-11"/webhook-endpoints/:webhook_endpoint/rotate-secret200Replace the WebhookEndpoint's signing secret. The previous secret keeps signing for 24 hours, so each request carries both signatures until previous_secret_expires_at. The response includes the new secret, which isn't shown again.
webhook_endpoint.managewhe_).curl -X POST https://api.officely.app/webhook-endpoints/whe_0027z13x/rotate-secret \
-H "Authorization: Bearer $OFFICELY_TOKEN" \
-H "Officely-Version: 2026-08-11"/webhook-endpoints/:webhook_endpoint/send-test200Send a webhook_endpoint.tested Event to this WebhookEndpoint only, whatever its events list and status. It gets one attempt and isn't retried. List the endpoint's WebhookDeliveries to see the result.
webhook_endpoint.managewhe_).curl -X POST https://api.officely.app/webhook-endpoints/whe_00qlru6g/send-test \
-H "Authorization: Bearer $OFFICELY_TOKEN" \
-H "Officely-Version: 2026-08-11"/webhook-deliveries/:webhook_delivery/resend200Send a WebhookDelivery again now, with the same body and webhook-id. The attempt is marked manual: it isn't retried, doesn't count toward the 12 automatic attempts or toward disabling a failing WebhookEndpoint, and a delivery still being retried keeps its next automatic attempt where it was. Works on a disabled WebhookEndpoint too.
webhook_endpoint.managewhd_).curl -X POST https://api.officely.app/webhook-deliveries/whd_01v4l11c/resend \
-H "Authorization: Bearer $OFFICELY_TOKEN" \
-H "Officely-Version: 2026-08-11"Queries
#queriesRead methods. Kept apart from operations because only operations change state.
/webhook-endpoints/:webhook_endpoint200Retrieve a WebhookEndpoint, including an archived one.
webhook_endpoint.readwhe_).curl https://api.officely.app/webhook-endpoints/whe_00l218di \
-H "Authorization: Bearer $OFFICELY_TOKEN" \
-H "Officely-Version: 2026-08-11"/webhook-endpoints200List the Account's WebhookEndpoints. Archived ones are left out unless include_archived is true.
webhook_endpoint.readwhe_). Pass the previous page's next_after.include_archivedbooleanOptionalfalse.limitintegerOptionaldata array is a result rather than a refusal.curl https://api.officely.app/webhook-endpoints \
-H "Authorization: Bearer $OFFICELY_TOKEN" \
-H "Officely-Version: 2026-08-11"Events
#eventsRecorded when something happens to a Webhook Endpoint. The payload is the Event's data.
Occurs when a WebhookEndpoint is archived.
dataWebhookEndpoint{
"actor": {
"id": "per_00y7dkg3",
"type": "person"
},
"created": "2026-08-11T09:30:00Z",
"id": "evt_01a7tx9d",
"name": "webhook_endpoint.archived",
"object": "event",
"sequence": 1,
"data": {
"account": "acc_011o61ia",
"created_at": "2026-08-11T09:30:00Z",
"events": [
"booking.created",
"booking.cancelled"
],
"id": "whe_008nf1uy",
"object": "webhook_endpoint",
"status": "enabled",
"updated_at": "2026-08-11T09:30:00Z",
"url": "https://example.com/officely/webhooks"
}
}Occurs when a WebhookEndpoint is created.
dataWebhookEndpoint{
"actor": {
"id": "per_018wn2ff",
"type": "person"
},
"created": "2026-08-11T09:30:00Z",
"id": "evt_01ccqm09",
"name": "webhook_endpoint.created",
"object": "event",
"sequence": 1,
"data": {
"account": "acc_011o61ia",
"created_at": "2026-08-11T09:30:00Z",
"events": [
"booking.created",
"booking.cancelled"
],
"id": "whe_008nf1uy",
"object": "webhook_endpoint",
"status": "enabled",
"updated_at": "2026-08-11T09:30:00Z",
"url": "https://example.com/officely/webhooks"
}
}Occurs when a WebhookEndpoint is disabled, by a request or because its requests failed for 3 days.
dataWebhookEndpoint{
"actor": {
"id": "per_005k765p",
"type": "person"
},
"created": "2026-08-11T09:30:00Z",
"id": "evt_00056vu3",
"name": "webhook_endpoint.disabled",
"object": "event",
"sequence": 1,
"data": {
"account": "acc_011o61ia",
"created_at": "2026-08-11T09:30:00Z",
"events": [
"booking.created",
"booking.cancelled"
],
"id": "whe_008nf1uy",
"object": "webhook_endpoint",
"status": "enabled",
"updated_at": "2026-08-11T09:30:00Z",
"url": "https://example.com/officely/webhooks"
}
}Occurs when a WebhookEndpoint is enabled.
dataWebhookEndpoint{
"actor": {
"id": "per_018qorig",
"type": "person"
},
"created": "2026-08-11T09:30:00Z",
"id": "evt_014lczxi",
"name": "webhook_endpoint.enabled",
"object": "event",
"sequence": 1,
"data": {
"account": "acc_011o61ia",
"created_at": "2026-08-11T09:30:00Z",
"events": [
"booking.created",
"booking.cancelled"
],
"id": "whe_008nf1uy",
"object": "webhook_endpoint",
"status": "enabled",
"updated_at": "2026-08-11T09:30:00Z",
"url": "https://example.com/officely/webhooks"
}
}Occurs when a WebhookEndpoint's signing secret is replaced.
dataWebhookEndpoint{
"actor": {
"id": "per_00h3le5z",
"type": "person"
},
"created": "2026-08-11T09:30:00Z",
"id": "evt_009mqlq5",
"name": "webhook_endpoint.secret_rotated",
"object": "event",
"sequence": 1,
"data": {
"account": "acc_011o61ia",
"created_at": "2026-08-11T09:30:00Z",
"events": [
"booking.created",
"booking.cancelled"
],
"id": "whe_008nf1uy",
"object": "webhook_endpoint",
"status": "enabled",
"updated_at": "2026-08-11T09:30:00Z",
"url": "https://example.com/officely/webhooks"
}
}Occurs when a test is sent to a WebhookEndpoint. Only that endpoint receives it.
dataWebhookEndpoint{
"actor": {
"id": "per_00b26q32",
"type": "person"
},
"created": "2026-08-11T09:30:00Z",
"id": "evt_003x0bs4",
"name": "webhook_endpoint.tested",
"object": "event",
"sequence": 1,
"data": {
"account": "acc_011o61ia",
"created_at": "2026-08-11T09:30:00Z",
"events": [
"booking.created",
"booking.cancelled"
],
"id": "whe_008nf1uy",
"object": "webhook_endpoint",
"status": "enabled",
"updated_at": "2026-08-11T09:30:00Z",
"url": "https://example.com/officely/webhooks"
}
}Occurs when a WebhookEndpoint's URL, Events, or description changes.
dataWebhookEndpoint{
"actor": {
"id": "per_00kpjqvm",
"type": "person"
},
"created": "2026-08-11T09:30:00Z",
"id": "evt_01b6dqb4",
"name": "webhook_endpoint.updated",
"object": "event",
"sequence": 1,
"data": {
"account": "acc_011o61ia",
"created_at": "2026-08-11T09:30:00Z",
"events": [
"booking.created",
"booking.cancelled"
],
"id": "whe_008nf1uy",
"object": "webhook_endpoint",
"status": "enabled",
"updated_at": "2026-08-11T09:30:00Z",
"url": "https://example.com/officely/webhooks"
}
}Refusal reasons
#refusal-reasonsEvery refusal reason defined by webhook_endpoint. The reason is the machine-readable key a caller receives.
| Code | Category | Returned when |
|---|---|---|
event_name_not_found | validation | An item in events names an Event, or a kind of object, that doesn't exist or that webhooks don't send. The message says which. |
no_change | state | The update wouldn't change the WebhookEndpoint. |
webhook_delivery_not_found | not_found | No WebhookDelivery matches webhook_delivery. |
webhook_endpoint_archived | state | The WebhookEndpoint is archived and can't be changed. Create a new one instead. |
webhook_endpoint_not_found | not_found | No WebhookEndpoint matches webhook_endpoint. |
{
"error": {
"category": "validation",
"code": "event_name_not_found",
"message": "An item in events names an Event, or a kind of object, that doesn't exist or that webhooks don't send.",
"retryable": false
}
}The code is the machine-readable refusal reason. Every code in this table is a permanent URL you can link from error toasts and logs.
REST examples use https://api.officely.app. See Officely-Version for endpoint versioning.

