List inbound rejections
const url = 'https://api.hookbridge.io/v1/inbound-rejections?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-rejections?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 a log of rejected inbound webhooks. Rejections occur when incoming requests fail verification (invalid token, HMAC mismatch, IP not allowed, etc.).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Filter by inbound endpoint ID
Example
01935abc-def0-7123-4567-890abcdef012Filter rejections after this time (ISO 8601)
Example
2025-12-01T00:00:00ZFilter rejections 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 rejections retrieved successfully
object
object
Rejection record ID
Machine-readable reason for rejection
Inbound endpoint ID (null when reason_code is endpoint_not_found)
Additional detail about the rejection
IP address of the sender
JSON string of request headers with values masked
object
Unique identifier for this request (useful for support)
Cursor for the next page of results
Whether more results are available
Example
{ "data": [ { "id": "01935abc-def0-7123-4567-890abcdef050", "reason_code": "hmac_failed", "received_at": "2025-12-06T12:00:00Z", "inbound_endpoint_id": "01935abc-def0-7123-4567-890abcdef012", "reason_detail": "HMAC signature mismatch", "source_ip": "203.0.113.42" } ], "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.