Skip to main content
GET
Search WebHooks
A WebHook sends an HTTP POST request to a specified URL whenever a particular event occurs within a location. Webhooks let external systems react to changes in real time without polling the API. Each webhook is scoped to a single location (BusinessId) and is configured with an Action that identifies the triggering event (e.g. CoworkerCreate, BookingCreate, CoworkerInvoicePaid). Only one action can be assigned per webhook record — create separate webhook records if you need to react to multiple events. Nexudus will POST a JSON payload to the configured URL every time the selected action fires. If the endpoint returns a non-2xx response, the error is recorded in LastError and ErrorCount is incremented. A webhook is automatically disabled after repeated failures. Set Active to false to pause delivery without deleting the webhook. Use LastTrigger and LastError to monitor delivery health.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the WebHook-List role.

Enums

Query Parameters

Pagination & Sorting

integer
default:"1"
The page number to retrieve.
integer
default:"25"
The number of records per page.
string
The property name to sort results by (e.g. Name, CreatedOn).
integer
Sort direction. 0 for ascending, 1 for descending.

Filters

integer
Filter by iD of the location this webhook belongs to.
string
Filter by display name for the webhook.
integer
Filter by the event that triggers this webhook (e.g. CoworkerCreate, BookingCreate, CoworkerInvoicePaid).
string
Filter by optional description of the webhook’s purpose.
string
Filter by the endpoint URL that receives the HTTP POST payload when the webhook fires.
boolean
Filter by whether the webhook is enabled and will fire when the configured action occurs.
string
Filter by error message from the most recent failed delivery attempt.
integer
Filter by number of consecutive delivery failures since the last successful call.
string
Filter by date and time the webhook last fired successfully.

Range Filters

integer
Filter by number of consecutive delivery failures since the last successful call greater than or equal to this value.
integer
Filter by number of consecutive delivery failures since the last successful call less than or equal to this value.
string
Filter by date and time the webhook last fired successfully greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter by date and time the webhook last fired successfully less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
string
Filter records created on or after this date. Format: YYYY-MM-DDTHH:mm.
string
Filter records created on or before this date. Format: YYYY-MM-DDTHH:mm.
string
Filter records updated on or after this date. Format: YYYY-MM-DDTHH:mm.
string
Filter records updated on or before this date. Format: YYYY-MM-DDTHH:mm.

Code Examples

Simple listing

Filtering by Name

Range filters

Response

200

WebHook[]
The list of WebHook records matching the query. See the Get one WebHook endpoint for the full list of properties returned for each record.
Partial records — The listing endpoint returns a summary representation of each WebHook. The following fields are not populated in the Records[] response: Description.To get all fields, fetch the full record using the Get one WebHook endpoint.Important for updates: When updating a record via PUT, always retrieve the full record with a GET request first, apply your changes to that complete data, and then send the updated record. Do not use data from a listing response as the base for a PUT request, as missing fields may be unintentionally cleared.
integer
Current page number.
integer
Number of records per page.
string
The field used for sorting.
integer
The sort direction (0 = ascending, 1 = descending).
integer
Index of the first item on the current page.
integer
Index of the last item on the current page.
integer
Total number of matching records across all pages.
integer
Total number of pages.
boolean
Whether there is a next page of results.
boolean
Whether there is a previous page of results.
Example Response