Get inbound time-series metrics
const url = 'https://api.hookbridge.io/v1/inbound-metrics/timeseries?window=24h&inbound_endpoint_id=01935abc-def0-7123-4567-890abcdef012';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-metrics/timeseries?window=24h&inbound_endpoint_id=01935abc-def0-7123-4567-890abcdef012' \ --header 'Authorization: Bearer <token>'Retrieve time-bucketed delivery metrics for inbound webhook messages. Returns data points at intervals appropriate for the selected window.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Time window for metrics
Example
24hOptional filter by inbound endpoint ID
Example
01935abc-def0-7123-4567-890abcdef012Responses
Section titled “Responses”Inbound time-series metrics retrieved successfully
object
object
Time window for these metrics
object
Start time of this bucket
Successful deliveries in this bucket
Failed deliveries in this bucket
Messages pending retry in this bucket
Total messages in this bucket
Average delivery latency in milliseconds
object
Unique identifier for this request (useful for support)
Example
{ "data": { "window": "24h", "buckets": [ { "timestamp": "2025-12-06T00:00:00Z", "succeeded": 200, "failed": 2, "retrying": 5, "total": 207, "avg_latency_ms": 145 }, { "timestamp": "2025-12-06T01:00:00Z", "succeeded": 220, "failed": 1, "retrying": 3, "total": 224, "avg_latency_ms": 130 } ] }, "meta": { "request_id": "req_xyz123" }}Invalid window or endpoint_id parameter
object
object
Machine-readable error code
Human-readable error message
object
Unique identifier for this request (useful for support)
Example
{ "error": { "code": "INVALID_REQUEST", "message": "endpoint must be a valid HTTPS URL" }, "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.