Access and gates
set_paid_access_design
Replace the FULL-SCREEN paywall design for one SITE-WIDE offer (FULL REPLACE, not a merge). Takes canonical GateDesignV1, or {} for Sentway's default; to edit incrementally read get_paid_access_design first and send the mutated design back. selected_pages offers render a modal and are refused here — use set_paid_modal_design. Editor role.
Behaviour
- Effect
- Destructive. It can remove or overwrite existing data.
- Repeat calls
- Idempotent. Repeating the same call produces the same result.
- Plan
- Pro plan required (Paid Access).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| request_id | string | Yes | - |
| site_id | uuid | Yes | Site UUID from list_sites. |
| offer_id | uuid | Yes | Offer UUID from get_paid_access. |
| design | object | Yes | FULL REPLACEMENT of the paywall design: canonical GateDesignV1, or {} for Sentway's default. |
Returns
| Name | Type |
|---|---|
| site_id | string |
| offer_id | string |
| idempotency_replay | boolean |
Using it
set_paid_access_design 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.