Skip to main content
GET
/
webhooks
/
logs
List webhook delivery logs
curl --request GET \
  --url https://api.paywalls.ai/v1/webhooks/logs \
  --header 'Authorization: Bearer <token>'
{
  "logs": [
    {
      "id": "<string>",
      "subscriptionId": "<string>",
      "status": "pending",
      "attempts": 123,
      "lastAttemptAt": "2023-11-07T05:31:56Z",
      "nextRetryAt": "2023-11-07T05:31:56Z",
      "responseCode": 123,
      "responseLatencyMs": 123,
      "error": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "event": {
        "id": "<string>",
        "paywallId": "<string>",
        "ownerUserId": "<string>",
        "type": "paywall.updated",
        "version": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "status": "<string>",
        "attempts": 123,
        "data": {},
        "metadata": {},
        "trigger": {},
        "subject": {}
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

subscriptionId
string

Limit results to deliveries tied to a specific subscription.

status
enum<string>

Filter by delivery status.

Available options:
pending,
success,
error
eventType
string

Filter by a specific event type key (e.g. paywall.updated).

limit
integer

Number of records to return (default 20, max 100).

Required range: 1 <= x <= 100

Response

200 - application/json

Webhook delivery attempts.

logs
object[]
required