Query inbound delivery logs
const url = 'https://api.hookbridge.io/v1/inbound-logs?status=succeeded&inbound_endpoint_id=01935abc-def0-7123-4567-890abcdef012&start_time=2025-12-01T00%3A00%3A00Z&end_time=2025-12-06T23%3A59%3A59Z&limit=50';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.hookbridge.io/v1/inbound-logs?status=succeeded&inbound_endpoint_id=01935abc-def0-7123-4567-890abcdef012&start_time=2025-12-01T00%3A00%3A00Z&end_time=2025-12-06T23%3A59%3A59Z&limit=50' \ --header 'Authorization: Bearer <token>'Retrieve delivery logs for inbound webhook messages. Supports filtering by status, endpoint, and time range with cursor-based pagination.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Filter by message status
Example
succeededFilter by inbound endpoint ID
Example
01935abc-def0-7123-4567-890abcdef012Filter messages received after this time (ISO 8601)
Example
2025-12-01T00:00:00ZFilter messages received before this time (ISO 8601)
Example
2025-12-06T23:59:59ZMaximum number of results to return
Example
50Pagination cursor from previous response
Responses
Section titled “Responses”Inbound logs retrieved successfully
object
object
Forwarding URL
When the message was successfully delivered (if applicable)
HTTP status code from the most recent delivery attempt
Latency in milliseconds for the most recent attempt
Error message from the last failed attempt
Total time in milliseconds from received to delivered
When the inbound message was soft-deleted. Only present on deleted rows; omitted for live messages.
object
Unique identifier for this request (useful for support)
Cursor for the next page of results
Whether more results are available
Example
{ "data": [ { "message_id": "01935abc-def0-7123-4567-890abcdef012", "inbound_endpoint_id": "01935abc-def0-7123-4567-890abcdef099", "endpoint": "https://myapp.com/webhooks/stripe", "status": "succeeded", "attempt_count": 1, "received_at": "2025-12-06T12:00:00Z", "delivered_at": "2025-12-06T12:00:05Z", "response_status": 200, "response_latency_ms": 120, "total_delivery_ms": 5000 } ], "meta": { "request_id": "req_xyz123", "has_more": false }}Invalid request
object
object
Machine-readable error code
Human-readable error message
object
Unique identifier for this request (useful for support)
Examples
Endpoint not found
{ "error": { "code": "ENDPOINT_NOT_FOUND", "message": "endpoint not found" }, "meta": { "request_id": "req_xyz123" }}Invalid endpoint ID format
{ "error": { "code": "INVALID_REQUEST", "message": "endpoint_id must be in format ep_xxx" }, "meta": { "request_id": "req_xyz123" }}Invalid payload
{ "error": { "code": "INVALID_REQUEST", "message": "payload must be valid JSON" }, "meta": { "request_id": "req_xyz123" }}Invalid headers
{ "error": { "code": "INVALID_HEADERS", "message": "header 'Host' is forbidden and cannot be overridden" }, "meta": { "request_id": "req_xyz123" }}Unauthorized - Invalid or missing API key
object
object
Machine-readable error code
Human-readable error message
object
Unique identifier for this request (useful for support)
Example
{ "error": { "code": "UNAUTHORIZED", "message": "Invalid or missing API key" }, "meta": { "request_id": "req_xyz123" }}Enter your credentials to populate code examples throughout the docs.