Access and gates

get_paid_access_preview

Return a short-lived URL rendering one offer's paywall as a buyer sees it, the surface it uses (gate for site-wide offers, modal for selected-page ones) and a render-safe summary of what the buyer is asked for. The URL is omitted when no preview signing secret is configured. Never exposes approved-email entries or the purchase password. Read-only.

Behaviour

Effect
Read only. Calling it never changes anything in the account.
Repeat calls
Idempotent. Repeating the same call produces the same result.
Plan
Available on every plan, including free.

Parameters

NameTypeRequiredDescription
site_iduuidYesSite UUID from list_sites.
offer_iduuidYesOffer UUID from get_paid_access.
preview_stateenum
purchase | check_email | validation_error | payment_pending | restore
NoFrame of the buyer journey to render. Default 'purchase'.

Returns

NameType
site_idstring
offer_idstring
surfaceenum
gate | modal
preview_stateenum
purchase | check_email | validation_error | payment_pending | restore
preview_urlstring
expires_atinteger
requirementsobject

Using it

get_paid_access_preview is called by an AI assistant connected to Sentway over MCP, not by hand. Point the assistant at the Sentway MCP endpoint and complete the OAuth flow, and the tool becomes available in the same session as the other 56 Sentway tools. See connecting over MCP.