List webhook deliveries

GET
/hooks/events

One row per delivery, updated in place across retries, so id is the X-Event-ID your endpoint saw and attempt_count is how many tries it took. Confirmation pings are not logged here.

Authorization<token>

API key as Bearer token: Authorization: Bearer

In: header

Query Parameters

limit?integer
Default25
Range1 <= value <= 100
cursor?string
subscription_id?string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://terac.com/api/external/v2/hooks/events"
{
  "data": [
    {
      "id": "string",
      "subscription_id": "string",
      "event_type": "string",
      "resource_id": "string",
      "status": "pending",
      "attempt_count": 0,
      "response_status": 0,
      "error_message": "string",
      "created_at": "string",
      "last_attempt_at": "string",
      "delivered_at": "string"
    }
  ],
  "pagination": {
    "next_cursor": "string",
    "has_more": true
  }
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "NOT_FOUND",
  "message": "Not found",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}