Paywalls V2

Create Paywall Preview Token

Creates a short-lived device-preview token using an organization API key. Paywall scope is the default; application scope enables the debugger paywall picker. Requires paywalls:read scope.

post/v2/paywalls/{id}/preview-token

Path parameters

idstring required

Paywall ID

Paywall ID

Request body

expires_ininteger

an integer

scope'paywall' | 'application'

paywall restricts the debugger to this paywall; application enables all paywalls in the application

Response

Success

object'paywall_preview_token' required
tokenstring required

Bearer token consumed by the device debugger

application_idstring required

a string to be decoded into a number

paywall_idstring required

a string to be decoded into a number

scope'paywall' | 'application' required
expires_atstring required

ISO 8601 expiration timestamp

deep_linkstring required

Direct custom-scheme URL for opening the customer application

Changes

No recorded changes to this endpoint across all 1 revision of this API.