Deliveries

GET
/api/v1/webhooks/{id}/deliveries

Lists an outbound webhook endpoint's most recent deliveries, newest first, with event, state, attempt count, last response status, and next attempt time.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An API key created in Capy under Settings → API.

Path parameters

id*string
Match^whe_
Length15 <= length <= 30

Query parameters

limit?string
Match^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$

Response body

WebhookDeliveryList

application/json
  1. response
deliveries*array<>
curl -X GET "https://api.capy.ai/api/v1/webhooks/{id}/deliveries" \  -H "Authorization: Bearer $CAPY_API_KEY"
{  "deliveries": [    {      "id": "stringstringstr",      "event": "thread.needs_you",      "threadId": "string",      "state": "pending",      "attempts": -9007199254740991,      "lastStatus": -9007199254740991,      "lastError": "string",      "nextAttemptAt": "string",      "deliveredAt": "string",      "createdAt": "string"    }  ]}
Open in Capy