cURL
curl --request POST \ --url https://{instance}.domo.com/api/content/v1/pages \ --header 'Content-Type: application/json' \ --header 'X-DOMO-Developer-Token: <api-key>' \ --data ' { "parentPageId": "12345", "title": "New Subpage Title", "hasLayout": true } '
{ "pageId": 11111111, "parentPageId": 2222222, "ownerId": 123123123, "owners": [ { "id": 123123123, "type": "USER", "displayName": null } ], "type": "page", "title": "Test Subpage", "pageName": "Test Subpage", "locked": false, "mobileEnabled": true, "sharedViewPage": true, "metadata": "{\"pageTitle\":\"Test Subpage\",\"title\":\"Test Subpage\",\"type\":\"page\"}", "virtualPage": false, "hasLayout": true }
Create a subpage under a parent page.
ID of the parent page
Title of the subpage
Whether the page should have a layout
Success (200): Page created successfully.
Show child attributes