API Documentation
Pages ¶
Pages ¶
Supported filter params
-
creator_id
-
edited_at
-
id
-
project_id (array)
Supported sort params
-
created_at
-
creator_name
-
edited_at
-
project
-
title
-
updated_at
Update action disclaimer:
For a successful page update, it’s best to ensure no user has that page open in the application. Otherwise, the update might not make any changes to the page.
GET /api/v2/pages
Requests
GET /api/v2/pages?filter[project_id]=1747
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonResponses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"data": [
{
"id": "98",
"type": "pages",
"attributes": {
"cover_image_meta": null,
"cover_image_url": null,
"created_at": "2025-11-01T05:19:45.341+01:00",
"custom_fields": null,
"edited_at": null,
"icon_id": null,
"position": null,
"preferences": {},
"title": "Page title 90",
"updated_at": "2025-11-01T05:19:45.350+01:00",
"version_number": null,
"last_activity_at": "2025-11-01T05:19:45.341+01:00",
"public_access": false,
"public_uuid": "b1ab5a17-5f95-5e3a-8547-1a98f68a67f9",
"body": "{\"text\":\"Page body 98\"}",
"parent_page_id": null,
"root_page_id": null,
"public": false
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "2279"
}
},
"creator": {
"meta": {
"included": false
}
},
"project": {
"meta": {
"included": false
}
},
"parent_page": {
"meta": {
"included": false
}
},
"root_page": {
"meta": {
"included": false
}
},
"attachments": {
"meta": {
"included": false
}
},
"template_object": {
"meta": {
"included": false
}
}
}
}
],
"links": {
"first": "http://api-test.productive.io/api/v2/pages?filter%5Bproject_id%5D=1747&page%5Bnumber%5D=1&page%5Bsize%5D=30",
"last": "http://api-test.productive.io/api/v2/pages?filter%5Bproject_id%5D=1747&page%5Bnumber%5D=1&page%5Bsize%5D=30"
},
"meta": {
"current_page": 1,
"total_pages": 1,
"total_count": 1,
"page_size": 30,
"max_page_size": 200
}
}Get pagesGET/api/v2/pages
GET /api/v2/pages/1
Requests
GET /api/v2/pages/99
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonResponses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"data": {
"id": "99",
"type": "pages",
"attributes": {
"cover_image_meta": null,
"cover_image_url": null,
"created_at": "2025-11-01T05:19:45.447+01:00",
"custom_fields": null,
"edited_at": null,
"icon_id": null,
"position": null,
"preferences": {},
"title": "Page title 91",
"updated_at": "2025-11-01T05:19:45.454+01:00",
"version_number": null,
"last_activity_at": "2025-11-01T05:19:45.447+01:00",
"public_access": false,
"public_uuid": "192b20a5-22e6-58f4-a66a-e5a2c7a396a6",
"body": "{\"text\":\"Page body 99\"}",
"parent_page_id": null,
"root_page_id": null,
"public": false
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "2280"
}
},
"creator": {
"meta": {
"included": false
}
},
"project": {
"meta": {
"included": false
}
},
"parent_page": {
"meta": {
"included": false
}
},
"root_page": {
"meta": {
"included": false
}
},
"attachments": {
"meta": {
"included": false
}
},
"template_object": {
"meta": {
"included": false
}
}
}
},
"meta": {}
}POST /api/v2/pages
Requests
POST /api/v2/pages
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonBody
{
"data": {
"type": "pages",
"attributes": {
"title": "test name",
"body": "test body"
},
"relationships": {
"project": {
"data": {
"type": "projects",
"id": "1751"
}
}
}
}
}Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"data": {
"id": "102",
"type": "pages",
"attributes": {
"cover_image_meta": null,
"cover_image_url": null,
"created_at": "2025-11-01T05:19:45.922+01:00",
"custom_fields": null,
"edited_at": "2025-11-01T05:19:45.922+01:00",
"icon_id": null,
"position": null,
"preferences": null,
"title": "test name",
"updated_at": "2025-11-01T05:19:45.930+01:00",
"version_number": null,
"last_activity_at": "2025-11-01T05:19:45.922+01:00",
"public_access": false,
"public_uuid": "c105ca05-1868-5ad2-a439-acd90327f1f8",
"body": "",
"parent_page_id": null,
"root_page_id": null,
"public": false
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "2283"
}
},
"creator": {
"meta": {
"included": false
}
},
"project": {
"meta": {
"included": false
}
},
"parent_page": {
"meta": {
"included": false
}
},
"root_page": {
"meta": {
"included": false
}
},
"attachments": {
"meta": {
"included": false
}
},
"template_object": {
"meta": {
"included": false
}
}
}
},
"meta": {}
}POST /api/v2/pages
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonBody
{
"data": {
"type": "pages",
"attributes": {
"parent_page_id": 103
}
}
}Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"errors": [
{
"status": "422",
"code": "invalid_attribute",
"title": "Invalid Attribute",
"detail": "attribute is invalid",
"source": {
"pointer": "data/attributes/parent_page"
}
}
]
}POST /api/v2/pages
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonBody
{
"data": {
"type": "pages",
"attributes": {
"title": "test name",
"body": "test body",
"version_number": "1"
}
}
}Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"data": {
"id": "104",
"type": "pages",
"attributes": {
"cover_image_meta": null,
"cover_image_url": null,
"created_at": "2025-11-01T05:19:46.175+01:00",
"custom_fields": null,
"edited_at": "2025-11-01T05:19:46.174+01:00",
"icon_id": null,
"position": null,
"preferences": null,
"title": "test name",
"updated_at": "2025-11-01T05:19:46.177+01:00",
"version_number": 1,
"last_activity_at": "2025-11-01T05:19:46.175+01:00",
"public_access": false,
"public_uuid": "04932515-0ab8-55f3-8a4d-eb5ff758d651",
"body": "",
"parent_page_id": null,
"root_page_id": null,
"public": false
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "2285"
}
},
"creator": {
"meta": {
"included": false
}
},
"project": {
"meta": {
"included": false
}
},
"parent_page": {
"meta": {
"included": false
}
},
"root_page": {
"meta": {
"included": false
}
},
"attachments": {
"meta": {
"included": false
}
},
"template_object": {
"meta": {
"included": false
}
}
}
},
"meta": {}
}PATCH /api/v2/pages/109/move
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonBody
{
"data": {
"type": "pages",
"attributes": {
"target_doc_id": "108"
}
}
}Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"data": {
"id": "109",
"type": "pages",
"attributes": {
"cover_image_meta": null,
"cover_image_url": null,
"created_at": "2025-11-01T05:19:46.602+01:00",
"custom_fields": null,
"edited_at": null,
"icon_id": null,
"position": 1,
"preferences": {},
"title": "Page title 97",
"updated_at": "2025-11-01T05:19:46.667+01:00",
"version_number": null,
"last_activity_at": "2025-11-01T05:19:46.602+01:00",
"public_access": false,
"public_uuid": "8aff8435-998b-5ec1-aa56-bad65919f59a",
"body": "{\"text\":\"Page body 105\"}",
"parent_page_id": 108,
"root_page_id": 108,
"public": false
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "2290"
}
},
"creator": {
"meta": {
"included": false
}
},
"project": {
"meta": {
"included": false
}
},
"parent_page": {
"meta": {
"included": false
}
},
"root_page": {
"meta": {
"included": false
}
},
"attachments": {
"meta": {
"included": false
}
},
"template_object": {
"meta": {
"included": false
}
}
}
},
"meta": {}
}PATCH /api/v2/pages/118/move
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonBody
{
"data": {
"type": "pages",
"attributes": {
"target_doc_id": ""
}
}
}Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"errors": [
{
"status": "422",
"code": "invalid_attribute",
"title": "Invalid Attribute",
"detail": "attribute is invalid",
"source": {
"pointer": "data/attributes/target_doc_id"
}
}
]
}Create a pagePOST/api/v2/pages
URI Parameters
- title
string(required) Example: Titletitle
- project_id
number(optional) Example: 1project id
- id
number(required) Example: 109
PATCH /api/v2/pages/1
Requests
PATCH /api/v2/pages/125
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonBody
{
"data": {
"type": "pages",
"attributes": {
"title": "new title"
}
}
}Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"data": {
"id": "125",
"type": "pages",
"attributes": {
"cover_image_meta": null,
"cover_image_url": null,
"created_at": "2025-11-01T05:19:47.965+01:00",
"custom_fields": null,
"edited_at": "2025-11-01T05:19:47.995+01:00",
"icon_id": null,
"position": null,
"preferences": {},
"title": "new title",
"updated_at": "2025-11-01T05:19:47.996+01:00",
"version_number": null,
"last_activity_at": "2025-11-01T05:19:47.965+01:00",
"public_access": false,
"public_uuid": "0489ca68-4cca-582c-bc63-b9cb0f59e4bf",
"body": "{\"text\":\"Page body 121\"}",
"parent_page_id": null,
"root_page_id": null,
"public": false
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "2296"
}
},
"creator": {
"meta": {
"included": false
}
},
"project": {
"meta": {
"included": false
}
},
"parent_page": {
"meta": {
"included": false
}
},
"root_page": {
"meta": {
"included": false
}
},
"attachments": {
"meta": {
"included": false
}
},
"template_object": {
"meta": {
"included": false
}
}
}
},
"meta": {}
}DELETE /api/v2/pages/1
Requests
DELETE /api/v2/pages/129
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonResponses
This response has no content.
POST /api/v2/pages/copy
Requests
POST /api/v2/pages/copy
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonBody
{
"data": {
"type": "pages",
"attributes": {
"template_id": 130
}
}
}Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"data": {
"id": "131",
"type": "pages",
"attributes": {
"cover_image_meta": null,
"cover_image_url": null,
"created_at": "2025-11-01T05:19:48.541+01:00",
"custom_fields": null,
"edited_at": "2025-11-01T05:19:48.540+01:00",
"icon_id": null,
"position": null,
"preferences": {},
"title": "Copy of Page title 118",
"updated_at": "2025-11-01T05:19:48.543+01:00",
"version_number": null,
"last_activity_at": "2025-11-01T05:19:48.510+01:00",
"public_access": false,
"public_uuid": "a0f52364-bb2f-5445-bb93-cf296e9e1e7b",
"body": "{\"text\":\"Page body 126\"}",
"parent_page_id": null,
"root_page_id": null,
"public": false
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "2300"
}
},
"creator": {
"meta": {
"included": false
}
},
"project": {
"meta": {
"included": false
}
},
"parent_page": {
"meta": {
"included": false
}
},
"root_page": {
"meta": {
"included": false
}
},
"attachments": {
"meta": {
"included": false
}
},
"template_object": {
"meta": {
"included": false
}
}
}
},
"meta": {}
}POST /api/v2/pages/copy
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonBody
{
"data": {
"type": "pages",
"attributes": {
"template_id": 132,
"title": "new page title",
"project_id": 1768
}
}
}Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"data": {
"id": "133",
"type": "pages",
"attributes": {
"cover_image_meta": null,
"cover_image_url": null,
"created_at": "2025-11-01T05:19:48.767+01:00",
"custom_fields": null,
"edited_at": "2025-11-01T05:19:48.766+01:00",
"icon_id": null,
"position": null,
"preferences": {},
"title": "new page title",
"updated_at": "2025-11-01T05:19:48.774+01:00",
"version_number": null,
"last_activity_at": "2025-11-01T05:19:48.631+01:00",
"public_access": false,
"public_uuid": "746b8f14-706c-567e-b8d6-ae84efd4e5b4",
"body": "{\"text\":\"Page body 127\"}",
"parent_page_id": null,
"root_page_id": null,
"public": false
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "2301"
}
},
"creator": {
"meta": {
"included": false
}
},
"project": {
"meta": {
"included": false
}
},
"parent_page": {
"meta": {
"included": false
}
},
"root_page": {
"meta": {
"included": false
}
},
"attachments": {
"meta": {
"included": false
}
},
"template_object": {
"meta": {
"included": false
}
}
}
},
"meta": {}
}POST /api/v2/pages/copy
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonBody
{
"data": {
"type": "pages",
"attributes": {
"template_id": 134
}
}
}Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"errors": [
{
"status": "422",
"code": "invalid_attribute",
"title": "Invalid Attribute",
"detail": "attribute is invalid",
"source": {
"pointer": "data/attributes/template_id"
}
}
]
}Copies a pagePOST/api/v2/pages/copy
URI Parameters
- title
string(optional) Example: Titletitle
- template_id
number(required) Example: 1id of the page to be copied
Generated by aglio on 01 Nov 2025