Body parameters

namestringrequired

The name of the page.

uristringrequired

The URL used to access this page.

titlestring

The title of this page.

descriptionstring

The description of this page.

layoutstring

The layout used to display this page.

activeboolean

Whether the page is active or not.

publish_datestring

The date and time when this page will be published.

Response

idstring

The unique identifier for this page.

objectstring

This will always contain page for this endpoint.

namestring

The name of this page.

uristring

The URL used to access this page.

titlestring

The title of this page.

descriptionstring

The description of this page.

layoutstring

The layout used to display this page.

activeboolean

Whether the page is active or not.

archivedboolean

Whether the page is archived or not.

publish_datestring

The date and time when this page will be published.

created_atstring

The date and time when the page was created.

updated_atstring

The date and time when the page was updated.

import Blutui from 'blutui'

const blutui = new Blutui('ey....')

blutui.project('one').admin.pages.create({
  name: 'Home',
  uri: '/',
})
Response
{
  "id": "99d401fe-8a1a-486f-9f1a-9c0c3fbe8caf",
  "object": "page",
  "name": "Home",
  "uri": "/",
  "title": "",
  "description": "",
  "layout": "layouts/page.canvas",
  "active": true,
  "archived": false,
  "publish_date": "2023-08-07T09:47:00+12:00",
  "created_at": "2023-08-07T09:47:00+12:00",
  "updated_at": "2023-08-07T09:47:00+12:00"
}

Was this helpful?