Trawl API reference

Trawl API · Webhooks

get/v1/workspaces/{workspace_id}/webhooks/{id}/deliveriesAuth

Delivery attempts for a webhook (paginated, default 50, max 200, newest first)

Deprecated: use `/v1/workspaces/{workspace_id}/webhooks/endpoints` (event filter, event descriptions, Send test that reports the result, event log, replay, rotation with a grace period). Responses carry `Deprecation: true` and `Sunset: Fri, 15 Jan 2027 00:00:00 GMT`.

Path parameters

workspace_id*string · uuid

Id of the workspace.

id*string · uuid

Id of the webhook.

Query parameters

statusenum (2)

Filter by outcome. `succeeded` = 2xx response; `failed` = any non-2xx, including attempts where the destination never responded.

cursorstring

Opaque cursor from the previous response's `pagination.next_cursor`.

limitinteger

Page size. Defaults to 50, capped at 200.

Response · 200 Page of delivery attempts with a pagination cursor.

data*array
pagination*object
next_cursor*string
has_more*boolean

Example

Request

GET https://api.trawl.productcraft.co/v1/workspaces/{workspace_id}/webhooks/{id}/deliveries
Authorization: Bearer YOUR_TOKEN

Response

{
  "data": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "webhook_id": "00000000-0000-0000-0000-000000000000",
      "job_id": "string",
      "event_id": "string",
      "event_type": "job.succeeded",
      "attempt_number": 0,
      "status_code": 0,
      "response_body_truncated": "string",
      "error_message": "string",
      "latency_ms": 0,
      "attempted_at": "2026-01-01T00:00:00.000Z"
    }
  ],
  "pagination": {
    "next_cursor": "string",
    "has_more": false
  }
}