Access and gates

upload_gate_asset_from_url

Add a logo or background image to a site's gate and paywall design from a public https URL. Returns the filename to put in the design (logo.primary_filename or background.filename) — reference that filename, never the source URL, and only on this site. SVG is sanitised, raster images are transcoded. Editor role.

Behaviour

Effect
Write. It creates or updates data in the account.
Repeat calls
Not idempotent. Repeating the call can produce a further change.
Plan
Available on every plan, including free.

Parameters

NameTypeRequiredDescription
request_idstringYesUnique mutation ID. Reuse only to replay identical arguments.
site_iduuidYesSite UUID from list_sites.
kindenum
logo | background
YesDesign slot; logo has a smaller size cap than background.
urlstringYesPublic https URL Sentway fetches server-side (PNG, JPEG, WebP, SVG). Must be reachable without credentials; chat attachments, file://, data: URIs and private-network hosts are rejected.

Returns

NameType
site_idstring
kindenum
logo | background
filenamestring
bytesinteger
idempotency_replayfalse

Using it

upload_gate_asset_from_url 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.