Skip to main content

Get page

Gets information about the page by ID

Function GetPage(Val Token, Val Page) Export

ParameterCLI optionTypeRequiredDescription
Token--tokenStringToken
Page--pageStringPage ID
Returns

Map Of KeyAndValue - serialized JSON response from Notion

1C:Enterprise/OneScript code example
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Page = "29d82aa7-fc4e-81bd-8fc1-e5b7d59b73fa";

Result = OPI_Notion.GetPage(Token, Page);
oint notion GetPage \
--token "***" \
--page "38382aa7-fc4e-816b-aee8-e57613a3ab78"
Result
{
"object": "page",
"id": "38382aa7-fc4e-81ca-8194-d8e985b1e0cc",
"created_time": "2026-06-18T17:38:00Z",
"last_edited_time": "2026-06-18T17:38:00Z",
"created_by": {
"object": "user",
"id": "8b07422e-eeea-40d1-8d5e-c784211825b0"
},
"last_edited_by": {
"object": "user",
"id": "8b07422e-eeea-40d1-8d5e-c784211825b0"
},
"cover": null,
"icon": null,
"parent": {
"type": "page_id",
"page_id": "5dd94c34-fab0-4bff-986b-7511c0779f77"
},
"in_trash": false,
"is_archived": false,
"is_locked": false,
"properties": {
"title": {
"id": "title",
"type": "title",
"title": [
{
"type": "text",
"text": {
"content": "title",
"link": null
},
"annotations": {
"bold": false,
"italic": false,
"strikethrough": false,
"underline": false,
"code": false,
"color": "default"
},
"plain_text": "title",
"href": null
}
]
}
},
"url": "https://app.notion.com/p/title-38382aa7fc4e81ca8194d8e985b1e0cc",
"public_url": null,
"archived": false,
"request_id": "cb0fc08e-9b3d-4b2c-ba66-92e9475e26fe"
}