OpenAPI operations
List events
const url = 'https://api.hooks.events/v1/events?status=delivered';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.hooks.events/v1/events?status=delivered' \ --header 'Authorization: Bearer <token>'Requires the endpoints:read scope.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Cursor from a previous nextCursor
Page size, 1–100 (default 20)
Only events from this endpoint
Free-text match over the inline payload and headers JSON
Field match, for example body.data.object.id=ch_123 or headers.x-github-event=push
Responses
Section titled “Responses”Success
object
object
Resource id
Inbound headers as a JSON string
ISO-8601 timestamp
ISO-8601 timestamp
Pass as ?cursor= to fetch the next page
Example generated
{ "data": [ { "id": "example", "projectId": "example", "endpointId": "example", "eventType": "example", "method": "example", "payloadRef": "example", "payloadSize": 1, "payloadHash": "example", "headersJson": "example", "normalizedJson": "example", "dedupeKey": "example", "duplicateOfEventId": "example", "filterReason": "example", "filterDetail": "example", "signatureVerified": true, "receivedAt": "example", "createdAt": "example" } ], "nextCursor": "example"}Validation error
object
object
Machine-readable error code
Request id, also echoed in x-request-id
Per-field validation details for VALIDATION_ERROR
object
Body or query field that failed validation
Example generated
{ "error": { "code": "example", "message": "example", "requestId": "example", "issues": [ { "path": "example", "message": "example" } ] }}Missing or invalid credentials
object
object
Machine-readable error code
Request id, also echoed in x-request-id
Per-field validation details for VALIDATION_ERROR
object
Body or query field that failed validation
Example generated
{ "error": { "code": "example", "message": "example", "requestId": "example", "issues": [ { "path": "example", "message": "example" } ] }}The credential lacks the required scope, or the workspace is not writable
object
object
Machine-readable error code
Request id, also echoed in x-request-id
Per-field validation details for VALIDATION_ERROR
object
Body or query field that failed validation
Example generated
{ "error": { "code": "example", "message": "example", "requestId": "example", "issues": [ { "path": "example", "message": "example" } ] }}Rate limited
object
object
Machine-readable error code
Request id, also echoed in x-request-id
Per-field validation details for VALIDATION_ERROR
object
Body or query field that failed validation
Example generated
{ "error": { "code": "example", "message": "example", "requestId": "example", "issues": [ { "path": "example", "message": "example" } ] }}Headers
Section titled “Headers”Requests allowed per window
Seconds until the window resets
Seconds to wait before retrying. Absent when the rejection has no retry time (for example the Free lifetime quota).
Request allowance for the workspace’s plan
Requests left in the allowance after this request