Skip to main content

List Endpoints

GET/v1/webhook-endpoints

List endpoints; secrets are not returned. Each endpoint carries lastDelivery (that endpoint's most recent delivery status / responseStatus / attempts / lastError / createdAt), or null if nothing has ever been delivered. Delivered/failed counts are deliberately not provided: that would be a COUNT aggregate that slows down linearly with message volume.

Authentication

Send Authorization: Bearer <API_KEY> in the request headers. Which resources an API Key can reach is determined by its current authorization scope.

Request​

Base URL: https://api.bluehola.com

Parameters​

NameInRequiredType / constraintsDescription
customerIdqueryRequired for customer KeysstringReturn only endpoints bound to this customer entity (cust_...). A customer Key must pass its own customer entity, otherwise 403
projectIdqueryNostringReturn only endpoints bound to this single Business Portfolio (bm_...)

Response​

StatusDescription
200OK
4xxClient error

For the common error envelope and how to handle it, see Error Codes.

Notes​

Each endpoint's lastDelivery is obtained with a single LEFT JOIN LATERAL query rather than a per-endpoint query or a DISTINCT ON, relying on a migration-added (endpoint_id, created_at DESC) index to keep the cost constant. Each filter matches the binding exactly: customerId does not return endpoints bound to a single Portfolio or account-level endpoints, and projectId does not return customer-bound or account-level endpoints. Without either filter, every endpoint under this account is returned.