Skip to main content
POST
/
v1
/
pages
Create a page
curl --request POST \
  --url https://api.domo.com/v1/pages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "parentId": 123,
  "locked": true,
  "cardIds": [
    123
  ],
  "visibility": {
    "userIds": [
      123
    ],
    "groupIds": [
      123
    ]
  }
}
'
{
  "id": 3242,
  "parentId": 23,
  "owners": [
    {
      "id": 8811501,
      "type": "USER",
      "displayName": "John Smith"
    }
  ],
  "name": "Supply Chain",
  "locked": true,
  "cardIds": [
    12,
    2535,
    233,
    694
  ],
  "visibility": {
    "userIds": [
      793,
      20,
      993,
      19234
    ],
    "groupIds": [
      32,
      25,
      17,
      74
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string

The name of the page

parentId
integer

If provided, the page will be created as a subpage to the page provided

locked
boolean

will restrict other users the ability to make edits to page or its content - the default value is false

cardIds
integer[]

The IDs of all cards to be added to the page

visibility
object

Determines the access given to both individual users or groups within Domo

Response

200 - application/json

Returns a page object when successful.

id
integer
parentId
integer
owners
object[]
name
string
locked
boolean
cardIds
integer[]
visibility
object