Update landing page draft
postfjord_update_pageChanges a page's draft: title, blocks, description, search title, style, colours, motion, Hide from Google (hideFromSearch), or when a landing page is online (liveFrom, liveUntil). Send only what changes; blocks replaces the whole list, so send every block that stays, with its id from postfjord_get_page. A published page stays live with the version that was published, as in the app, until it is published again with postfjord_publish_page. The answer has the page and the checks that still stop a publish.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pageId": "<pageId>"
},
"name": "postfjord_update_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | A new style resets the colours to the style's, with the brand kit's on top unless useBrand is false. | |
| title | No | The page's name, up to 60 characters. | |
| blocks | No | The blocks from top to bottom. A link in bio page is usually: a hero with layout avatar (the business name, a short line and a photo), a links block with the most important links, and a social block. A landing page for one offer: a hero, a text, a list or faq, a button or a form block. A countdown block (date, time, tz, units, button { label, href }, after, afterText, afterButton) counts down to a date, like a launch or the last day to sign up: use only a real date the person gave, and never move a deadline that has passed to a later one. A location block (name is the business name here; street, city, region, postal, country, phone, tz, week, exceptions) shows the address, opening hours with Open now, a Call button and map links: use only hours and an address the user gave you; never invent them. For a class, call or appointment, use a booking block with the booking link; never invent a link. Write real facts only; do not invent prices, dates or quotes. Text in [brackets] stops a publish; a link written [words](https://address) in a text, the hero line or a faq answer is a link, not brackets, and [words]{#rrggbb} gives those words a color (only when the user asks for one). Any block, and any row of a links block, can show only from one time until another (show). | |
| colors | No | The page's colours as #rrggbb, as the Look panel's Color and More colours set them, applied after style: bg, surface, text, muted and accent, and on top of them onAccent (words on buttons), box (behind forms, cards and plain links), link (featured links), link2 (featured links fade from link to this, as a gradient) and edge (the thin line round links, boxes and icons). null on onAccent, box, link, link2 or edge goes back to what the look works out. Use only colours the person or their brand gave. | |
| motion | No | true: sections fade in as visitors scroll and photos settle into place; false: the page stands still. New pages start with true. People who ask their device for less motion always see a still page. On a live page the change goes live with the next postfjord_publish_page. | |
| pageId | Yes | ||
| liveFrom | No | Landing pages only: when visitors can see the whole page, as a date and time with an offset or a local time in the workspace time zone (timeZone in postfjord_get_page). Before liveFrom the address says the page does not exist; after liveUntil visitors see that it has ended. null removes it. The link in bio page cannot be scheduled as a whole. | |
| seoTitle | No | A title for Google and shared links, up to 70 characters. | |
| useBrand | No | ||
| liveUntil | No | Landing pages only: when visitors can see the whole page, as a date and time with an offset or a local time in the workspace time zone (timeZone in postfjord_get_page). Before liveFrom the address says the page does not exist; after liveUntil visitors see that it has ended. null removes it. The link in bio page cannot be scheduled as a whole. | |
| description | No | What Google and shared links show under the title, up to 200 characters. | |
| hideFromSearch | No | Landing pages only: true keeps the page out of Google and other search engines (a robots noindex tag, and it leaves the sitemap), so only people with the link find it. On a live page the change goes live with the next postfjord_publish_page. |