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
| Name | Type | Required | Description |
|---|---|---|---|
| site_id | uuid | Yes | Site UUID from list_sites. |
| offer_id | uuid | Yes | Offer UUID from get_paid_access. |
| preview_state | enum purchase | check_email | validation_error | payment_pending | restore | No | Frame of the buyer journey to render. Default 'purchase'. |
Returns
| Name | Type |
|---|---|
| site_id | string |
| offer_id | string |
| surface | enum gate | modal |
| preview_state | enum purchase | check_email | validation_error | payment_pending | restore |
| preview_url | string |
| expires_at | integer |
| requirements | object |
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.