Access & visibility
Allow webhooks.ListWebhookDeliveries on your API key.
Workspace access by default. Private member data requires approved member delegation through Brigg-Act-As; the key supplies permissions while private ownership and project boundaries remain enforced.
Request fields
Send a JSON object with the following fields. Required fields must be included; omit optional fields you do not need.
webhook_idstringRequiredIdentifier of the approved webhook subscription. After administrator approval, discover it with webhooks.ListWebhookSubscriptions using a credential with read access to every selected resource type. It is different from an event ID or delivery ID.
At least 1 character.
cursorstringOptionalOpaque next_cursor returned by this webhook's preceding page. Keep the same webhook and credential; omit it to start a new listing.
limitintegerOptionalMaximum number of results to return in this page. Continue with next_cursor when returned.
Default: 50. Range: 1 to 100.
Response
Returns 200 OK with a JSON body.
An empty items array means this page contains no matching visible results. Follow next_cursor when present.
itemsarray of Webhook deliveryRequiredDelivery attempts for the selected webhook, within the retained delivery history. Pass next_cursor as cursor to continue when a next cursor is returned.
Item fields
delivery_idstringRequiredDelivery identifier returned by webhooks.ListWebhookDeliveries. Replay uses this identifier for the same webhook; active deliveries cannot be replayed.
event_idstringRequiredStable event identifier. Deduplicate notifications by this value, including retries and deliberate replays.
eventstringRequiredEvent name. Supported values: meeting.completed, resource.created, resource.updated, resource.deleted. See the event reference for payloads and delivery contracts.
resource_typestringRequiredRecord type associated with this event, such as core:Company.
statusstringRequiredDelivery state recorded by the delivery worker. Check last_status and last_error when delivery fails.
attemptsnumberRequiredNumber of delivery attempts made so far for this event and subscription.
last_statusnumber or nullRequiredHTTP status of the most recent endpoint response, or null if no HTTP response was received.
last_errorstring or nullRequiredMost recently recorded delivery error, or null if none was recorded.
created_atnumberRequiredCreation time in Unix milliseconds.
updated_atnumberRequiredLast update time in Unix milliseconds.
next_cursorstringOptionalContinue this webhook's listing with this value as cursor. Omitted on the final page.
Pagination
Pass next_cursor as cursor on the next request, keeping the same query and acting identity. Stop when next_cursor is absent. Treat the cursor as opaque; never construct or edit it.
const query = {
"webhook_id": "e_example"
};
let cursor;
do {
const response = await fetch("https://api.brigg.app/v1/operations/webhooks.ListWebhookDeliveries", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.BRIGG_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ ...query, ...(cursor ? { cursor } : {}) }),
});
const page = await response.json();
if (!response.ok) throw new Error(`${response.status}: ${page.message}`);
for (const item of page.items) {
console.log(item); // Process or upsert each result.
}
cursor = page.next_cursor;
} while (cursor);Errors & retries
This operation reads data. It needs no idempotency key and can be retried after a transient failure.
For rate limits, follow the server’s retry guidance and back off. See HTTP errors and safe retries and limits.
| HTTP status | Code | What to do |
|---|---|---|
| 400 | invalid_json |
Send a JSON object with Content-Type: application/json. |
| 400 | invalid_input |
Check the request fields and types. |
| 401 | invalid_key |
The workspace API key is missing, invalid or revoked. |
| 403 | forbidden |
Check the key’s operation and resource grants. If Brigg-Act-As is supplied, the key must be authorized to delegate to that member. |
| 404 | not_found |
The requested operation or resource is not available to this credential. |
| 429 | rate_limited |
Wait for Retry-After before retrying. |
Next steps
JSON schemas
Use the complete schemas for validation or client generation.
Full request JSON schema
{
"type": "object",
"properties": {
"webhook_id": {
"type": "string",
"minLength": 1,
"description": "Identifier of the approved webhook subscription. After administrator approval, discover it with `webhooks.ListWebhookSubscriptions` using a credential with read access to every selected resource type. It is different from an event ID or delivery ID."
},
"cursor": {
"type": "string",
"description": "Opaque next_cursor returned by this webhook's preceding page. Keep the same webhook and credential; omit it to start a new listing."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50,
"description": "Maximum number of results to return in this page. Continue with next_cursor when returned."
}
},
"required": [
"webhook_id"
],
"additionalProperties": false,
"examples": [
{
"webhook_id": "e_example"
}
]
}Full response JSON schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"delivery_id": {
"type": "string",
"description": "Delivery identifier returned by `webhooks.ListWebhookDeliveries`. Replay uses this identifier for the same webhook; active deliveries cannot be replayed.",
"examples": [
"delivery_company_123"
]
},
"event_id": {
"type": "string",
"description": "Stable event identifier. Deduplicate notifications by this value, including retries and deliberate replays.",
"examples": [
"event_company_123"
]
},
"event": {
"type": "string",
"description": "Event name. Supported values: `meeting.completed`, `resource.created`, `resource.updated`, `resource.deleted`. See the [event reference](/events) for payloads and delivery contracts.",
"examples": [
"resource.updated"
]
},
"resource_type": {
"type": "string",
"description": "Record type associated with this event, such as core:Company.",
"examples": [
"core:Company"
]
},
"status": {
"type": "string",
"description": "Delivery state recorded by the delivery worker. Check last_status and last_error when delivery fails.",
"examples": [
"delivered"
]
},
"attempts": {
"type": "number",
"description": "Number of delivery attempts made so far for this event and subscription.",
"examples": [
1
]
},
"last_status": {
"type": [
"number",
"null"
],
"description": "HTTP status of the most recent endpoint response, or null if no HTTP response was received.",
"examples": [
200
]
},
"last_error": {
"type": [
"string",
"null"
],
"description": "Most recently recorded delivery error, or null if none was recorded.",
"examples": [
null
]
},
"created_at": {
"type": "number",
"description": "Creation time in Unix milliseconds."
},
"updated_at": {
"type": "number",
"description": "Last update time in Unix milliseconds."
}
},
"required": [
"delivery_id",
"event_id",
"event",
"resource_type",
"status",
"attempts",
"last_status",
"last_error",
"created_at",
"updated_at"
],
"additionalProperties": false,
"title": "Webhook delivery"
},
"description": "Delivery attempts for the selected webhook, within the retained delivery history. Pass next_cursor as cursor to continue when a next cursor is returned."
},
"next_cursor": {
"type": "string",
"description": "Continue this webhook's listing with this value as cursor. Omitted on the final page."
}
},
"required": [
"items"
],
"additionalProperties": false,
"examples": [
{
"items": [
{
"delivery_id": "delivery_company_123",
"event_id": "event_company_123",
"event": "resource.updated",
"resource_type": "core:Company",
"status": "delivered",
"attempts": 1,
"last_status": 200,
"last_error": null,
"created_at": 1794301200000,
"updated_at": 1794301200000
}
]
}
]
}