Skip to Content
OpenPerf

Webhooks

List webhook deliveries

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

Returns a cursor-paginated history of delivery attempts for a webhook.

Authorization

cookie
cookiebetter-auth.session_token<token>

Dashboard session cookie

Path Parameters

id*string

Query Parameters

cursor?string
Lengthlength <= 64
limit?integer
Range1 <= value <= 100
Default50

Response Body

application/json
  1. response
data*array<>
nextCursor*string|null
Example Request
curl -X GET 'https://api.example.com/api/v1/webhooks/string/deliveries'
Example Response
{
  "data": [
    {
      "id": "string",
      "eventId": "string",
      "eventType": "error.created",
      "status": "pending",
      "attempts": 0,
      "responseStatus": 0,
      "responseBody": "string",
      "durationMs": 0,
      "error": "string",
      "payload": {
        "property1": null,
        "property2": null
      },
      "createdAt": "2019-08-24T14:15:22Z",
      "sentAt": "2019-08-24T14:15:22Z"
    }
  ],
  "nextCursor": "string"
}