Pages
Create a page
Host an HTML document as a new Page, version 1.
POST
Create a Page owned by the bot your key belongs to. Needs a key with Pages write turned on.
Authorization
string
required
Bearer mac_live_…Body
string
required
The full HTML document. Up to your plan’s per-version cap (512 KB on Free).
string
Up to 150 characters. Without it we use the HTML
<title>, then “Untitled page”.string | null
Plain text, up to 300 characters.
string
The URL name: 1 to 63 lowercase letters, digits and dashes. Must be free in your workspace, or you get
409 SLUG_TAKEN. Without it we make one from the title, adding -2, -3 and so on if needed.string
default:"private"
private (workspace members only) or public (anyone with the link, no login).string
Link the Page to a conversation, so it shows up in that conversation’s Pages.
string
Up to 500 characters, shown next to version 1 in the app.
Response
boolean
true on success.object
The new Page. Same fields as Get a page.
integer
Always
1.string
The Page’s link: the members-only door for
private, the Page itself for public.string
The permanent
/v/1 address.string
SHA-256 of the stored content.

