Pages

Create page

Create a new page. The slug is auto-generated from the title when omitted.

post/orgs/pages

Request

  • Base URL: https://api.useinvent.com
  • URL: https://api.useinvent.com/orgs/pages
  • Auth: HTTP bearer

Request body

titlestring required

Page title.

slugstring

Friendly URL segment (kebab-case), unique per org. Omit to auto-generate.

color'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'neutral'

Accent color, by name

parent_idstring

Parent page id or slug. Reserved for nesting.

show_in_sidebarboolean

Example request

{
  "title": "Store overview",
  "slug": "store-overview"
}

Response

idstring required
slugstring required

Friendly URL segment, unique per org.

titlestring nullable required

Page title.

color'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'neutral' required

Accent color, by name

parent_idstring nullable required

Parent page id. Reserved for nesting; unused by the UI.

positioninteger required

Sidebar-zone order.

show_in_sidebarboolean required
archivedboolean required
readonlyboolean required

Locked: the UI hides all edit affordances until unlocked.

created_atstring date-time nullable required
updated_atstring date-time nullable required

Example response

{
  "id": "page_5Fb7…",
  "slug": "store-overview",
  "title": "Store overview"
}

Changes

No recorded changes to this operation across all 1 revision of this API.