Skip to main content
GET
/
api
/
webhooks
/
deliveries
Webhook Deliveries
curl --request GET \
  --url https://encrata.com/api/webhooks/deliveries \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "webhook_id": "<string>",
  "event_type": "<string>",
  "payload": {},
  "status": "<string>",
  "attempts": 123,
  "response_status": 123,
  "response_body": "<string>",
  "last_attempt_at": "<string>",
  "created_at": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.encrata.com/llms.txt

Use this file to discover all available pages before exploring further.

Authentication

Requires an API key in the Authorization header.
Authorization: Bearer YOUR_API_KEY

Request

webhook_id
string
required
The webhook ID to list deliveries for.

Example request

curl "https://encrata.com/api/webhooks/deliveries?webhook_id=360cb300-d885-4c18-af2c-d259f936bb38" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

Returns an array of delivery objects (up to 50 most recent).
id
string
Unique delivery identifier (UUID).
webhook_id
string
The webhook this delivery belongs to.
event_type
string
The event that triggered this delivery.
payload
object
The JSON payload that was sent.
status
string
Delivery status: pending, success, or failed.
attempts
integer
Number of delivery attempts made.
response_status
integer
HTTP status code returned by your endpoint (if available).
response_body
string
Response body from your endpoint (if available).
last_attempt_at
string
ISO 8601 timestamp of the last delivery attempt.
created_at
string
ISO 8601 timestamp when the delivery was created.

Example response

[
  {
    "id": "del_abc123",
    "webhook_id": "360cb300-d885-4c18-af2c-d259f936bb38",
    "event_type": "lookup.completed",
    "payload": {
      "event": "lookup.completed",
      "data": {"email": "satya@microsoft.com"},
      "created_at": "2026-05-02T12:00:00Z"
    },
    "status": "success",
    "attempts": 1,
    "response_status": 200,
    "response_body": "OK",
    "last_attempt_at": "2026-05-02T12:00:01Z",
    "created_at": "2026-05-02T12:00:00Z"
  }
]