Skip to main content
WEBHOOK
paywall.updated
{
  "id": "paywall_updated_evt_123",
  "paywallId": "pw_live_123",
  "ownerUserId": "usr_owner_789",
  "type": "paywall.updated",
  "version": "2024-05-01",
  "createdAt": "2024-05-01T12:34:56Z",
  "status": "pending",
  "attempts": 1,
  "data": {
    "paywallId": "pw_live_123",
    "ownerUserId": "usr_owner_789",
    "changedFields": [
      "pricing.mode",
      "limits.maxRequests"
    ],
    "summarySections": [
      "Pricing mode switched from tokens to requests",
      "Max requests increased from 1000 to 2000"
    ]
  }
}

Body

application/json

Paywall event payload that triggered the webhook delivery.

id
string
required
paywallId
string
required
type
enum<string>
required

Event key (see the webhooks section for the full catalog).

Available options:
TitleConst
paywall.updated
version
string
required
createdAt
string<date-time>
required
status
string
required
attempts
integer
required
data
object
required

Event-specific payload delivered with the webhook. Structure depends on the event type. Payload fields: paywallId, ownerUserId, changedFields, summarySections.

ownerUserId
string
metadata
object
trigger
object
subject
object

Response

200

Return a 2xx to acknowledge receipt.