Create preview link
create_previewGenerate a shareable preview URL for a landing page before going live.
Use this after save_page_content so the user can review the page via a token-protected preview URL before publishing. The live production version is NOT affected.
If the page has an assigned primary custom URL such as https://www.example.com/lp2, the preview response uses that URL path and may also include a managed fallback URL.
If the user is happy with the preview, call publish_site to make it live.
Uses the latest saved version if versionNumber is omitted.
The returned URL includes a secure access token and works for 60 minutes. Call create_preview again for a fresh link; to show the page to other people, publish it.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | The ID of the page to preview | |
| versionNumber | No | Version number to preview. If omitted, the latest saved version is used. |