Get page
Gets information about the page by ID
Function GetPage(Val Token, Val Page) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Token | --token | String | ✔ | Token |
| Page | --page | String | ✔ | Page ID |
Returns: Map Of KeyAndValue - serialized JSON response from Notion
1C:Enterprise/OneScript code example
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Page = "28c82aa7-fc4e-8101-87d4-e4706b757958";
Result = OPI_Notion.GetPage(Token, Page);
- Bash
- CMD/Bat
oint notion GetPage \
--token "***" \
--page "28d82aa7-fc4e-8114-9735-db917bd343f9"
oint notion GetPage ^
--token "***" ^
--page "28d82aa7-fc4e-8114-9735-db917bd343f9"
Result
{
"object": "page",
"id": "28d82aa7-fc4e-8114-9735-db917bd343f9",
"created_time": "2025-10-15T09:39:00Z",
"last_edited_time": "2025-10-15T09:39: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"
},
"archived": false,
"in_trash": 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://www.notion.so/title-28d82aa7fc4e81149735db917bd343f9",
"public_url": null,
"request_id": "6030ea7f-7d29-4f6d-bba7-85fb136ca922"
}