> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.notion.core.GetPage

- Component: `appmixer.notion.core.GetPage`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.notion 2.2.0](https://connectors.appmixer.com/connector/appmixer.notion/2.2.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.notion/2.2.0/component/appmixer.notion.core.GetPage>

Gets a page or a database item using its ID.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Page ID (`pageId`) | text | Enter the ID of the page that you want to get. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Object (`object`) | string | - |
| Page ID (`id`) | string | - |
| Created Time (`created_time`) | string | - |
| Last Edited Time (`last_edited_time`) | string | - |
| Created By (`created_by`) | object | - |
| Last Edited By (`last_edited_by`) | object | - |
| Cover (`cover`) | object,null | - |
| Icon (`icon`) | object,null | - |
| Parent (`parent`) | object | - |
| Archived (`archived`) | boolean | - |
| In Trash (`in_trash`) | boolean | - |
| Properties (`properties`) | object | - |
| URL (`url`) | string | - |
| Public URL (`public_url`) | string | - |
| Request ID (`request_id`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.notion.core.GetPage",
  "author": "Appmixer <info@appmixer.com>",
  "icon": "(data URI omitted)",
  "description": "Gets a page or a database item using its ID.",
  "auth": {
    "service": "appmixer:notion"
  },
  "quota": {
    "manager": "appmixer:notion",
    "resources": "general",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "private": false,
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "pageId": {
            "type": "string"
          }
        },
        "required": [
          "pageId"
        ]
      },
      "inspector": {
        "inputs": {
          "pageId": {
            "type": "text",
            "index": 1,
            "label": "Page ID",
            "tooltip": "Enter the ID of the page that you want to get."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Object",
          "value": "object",
          "schema": {
            "type": "string",
            "example": "page"
          }
        },
        {
          "label": "Page ID",
          "value": "id",
          "schema": {
            "type": "string",
            "example": "e5f6a7b8-c9d0-1234-efab-345678901234"
          }
        },
        {
          "label": "Created Time",
          "value": "created_time",
          "schema": {
            "type": "string",
            "example": "2025-12-20T08:00:00.000Z"
          }
        },
        {
          "label": "Last Edited Time",
          "value": "last_edited_time",
          "schema": {
            "type": "string",
            "example": "2026-01-15T10:30:00.000Z"
          }
        },
        {
          "label": "Created By",
          "value": "created_by",
          "schema": {
            "type": "object",
            "properties": {
              "object": {
                "title": "Created By.Object",
                "type": "string"
              },
              "id": {
                "title": "Created By.ID",
                "type": "string"
              }
            },
            "example": {
              "object": "user",
              "id": "c2f20311-9e54-4d11-8c79-7398424ae41e"
            }
          }
        },
        {
          "label": "Last Edited By",
          "value": "last_edited_by",
          "schema": {
            "type": "object",
            "properties": {
              "object": {
                "title": "Last Edited By.Object",
                "type": "string"
              },
              "id": {
                "title": "Last Edited By.ID",
                "type": "string"
              }
            },
            "example": {
              "object": "user",
              "id": "c2f20311-9e54-4d11-8c79-7398424ae41e"
            }
          }
        },
        {
          "label": "Cover",
          "value": "cover",
          "schema": {
            "type": [
              "object",
              "null"
            ],
            "example": {
              "type": "external",
              "external": {
                "url": "https://images.unsplash.com/photo-1506744038136-46273834b3fb"
              }
            }
          }
        },
        {
          "label": "Icon",
          "value": "icon",
          "schema": {
            "type": [
              "object",
              "null"
            ],
            "example": {
              "type": "emoji",
              "emoji": "🚀"
            }
          }
        },
        {
          "label": "Parent",
          "value": "parent",
          "schema": {
            "type": "object",
            "properties": {
              "type": {
                "title": "Parent.Type",
                "type": "string"
              },
              "database_id": {
                "title": "Parent.Database ID",
                "type": "string"
              }
            },
            "example": {
              "type": "database_id",
              "database_id": "9b4c8f2e-1d3a-4e5b-8c7d-6f0a1b2c3d4e"
            }
          }
        },
        {
          "label": "Archived",
          "value": "archived",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "In Trash",
          "value": "in_trash",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Properties",
          "value": "properties",
          "schema": {
            "type": "object",
            "properties": {
              "text": {
                "title": "Properties.Text",
                "type": "object",
                "properties": {
                  "id": {
                    "title": "Properties.Text.ID",
                    "type": "string"
                  },
                  "type": {
                    "title": "Properties.Text.Type",
                    "type": "string"
                  },
                  "rich_text": {
                    "title": "Properties.Text.Rich Text",
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "title": "Properties.Text.Rich Text.Type",
                          "type": "string"
                        },
                        "text": {
                          "title": "Properties.Text.Rich Text.Text",
                          "type": "object",
                          "properties": {
                            "content": {
                              "title": "Properties.Text.Rich Text.Text.Content",
                              "type": "string"
                            },
                            "link": {
                              "title": "Properties.Text.Rich Text.Text.Link",
                              "type": "string"
                            }
                          }
                        },
                        "annotations": {
                          "title": "Properties.Text.Rich Text.Annotations",
                          "type": "object",
                          "properties": {
                            "bold": {
                              "title": "Properties.Text.Rich Text.Annotations.Bold",
                              "type": "boolean"
                            },
                            "italic": {
                              "title": "Properties.Text.Rich Text.Annotations.Italic",
                              "type": "boolean"
                            },
                            "strikethrough": {
                              "title": "Properties.Text.Rich Text.Annotations.Strikethrough",
                              "type": "boolean"
                            },
                            "underline": {
                              "title": "Properties.Text.Rich Text.Annotations.Underline",
                              "type": "boolean"
                            },
                            "code": {
                              "title": "Properties.Text.Rich Text.Annotations.Code",
                              "type": "boolean"
                            },
                            "color": {
                              "title": "Properties.Text.Rich Text.Annotations.Color",
                              "type": "string"
                            }
                          }
                        },
                        "plain_text": {
                          "title": "Properties.Text.Rich Text.Plain Text",
                          "type": "string"
                        },
                        "href": {
                          "title": "Properties.Text.Rich Text.Href",
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              },
              "tags": {
                "title": "Properties.Tags",
                "type": "object",
                "properties": {
                  "id": {
                    "title": "Properties.Tags.ID",
                    "type": "string"
                  },
                  "type": {
                    "title": "Properties.Tags.Type",
                    "type": "string"
                  },
                  "multi_select": {
                    "title": "Properties.Tags.Multi Select",
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  }
                }
              },
              "created_by": {
                "title": "Properties.Created By",
                "type": "object",
                "properties": {
                  "id": {
                    "title": "Properties.Created By.ID",
                    "type": "string"
                  },
                  "type": {
                    "title": "Properties.Created By.Type",
                    "type": "string"
                  },
                  "created_by": {
                    "title": "Properties.Created By.Created By",
                    "type": "object",
                    "properties": {
                      "object": {
                        "title": "Properties.Created By.Created By.Object",
                        "type": "string"
                      },
                      "id": {
                        "title": "Properties.Created By.Created By.ID",
                        "type": "string"
                      }
                    }
                  }
                }
              },
              "created_time": {
                "title": "Properties.Created Time",
                "type": "object",
                "properties": {
                  "id": {
                    "title": "Properties.Created Time.ID",
                    "type": "string"
                  },
                  "type": {
                    "title": "Properties.Created Time.Type",
                    "type": "string"
                  },
                  "created_time": {
                    "title": "Properties.Created Time.Created Time",
                    "type": "string"
                  }
                }
              },
              "last_edited_by": {
                "title": "Properties.Last Edited By",
                "type": "object",
                "properties": {
                  "id": {
                    "title": "Properties.Last Edited By.ID",
                    "type": "string"
                  },
                  "type": {
                    "title": "Properties.Last Edited By.Type",
                    "type": "string"
                  },
                  "last_edited_by": {
                    "title": "Properties.Last Edited By.Last Edited By",
                    "type": "object",
                    "properties": {
                      "object": {
                        "title": "Properties.Last Edited By.Last Edited By.Object",
                        "type": "string"
                      },
                      "id": {
                        "title": "Properties.Last Edited By.Last Edited By.ID",
                        "type": "string"
                      }
                    }
                  }
                }
              },
              "last_edited_time": {
                "title": "Properties.Last Edited Time",
                "type": "object",
                "properties": {
                  "id": {
                    "title": "Properties.Last Edited Time.ID",
                    "type": "string"
                  },
                  "type": {
                    "title": "Properties.Last Edited Time.Type",
                    "type": "string"
                  },
                  "last_edited_time": {
                    "title": "Properties.Last Edited Time.Last Edited Time",
                    "type": "string"
                  }
                }
              }
            },
            "example": {
              "Name": {
                "id": "title",
                "type": "title",
                "title": [
                  {
                    "type": "text",
                    "text": {
                      "content": "Launch plan",
                      "link": null
                    },
                    "plain_text": "Launch plan",
                    "href": null
                  }
                ]
              },
              "Status": {
                "id": "%3AUPp",
                "type": "status",
                "status": {
                  "id": "b3f1c2d4",
                  "name": "In progress",
                  "color": "blue"
                }
              }
            }
          }
        },
        {
          "label": "URL",
          "value": "url",
          "schema": {
            "type": "string",
            "example": "https://www.notion.so/e5f6a7b8c9d01234efab345678901234"
          }
        },
        {
          "label": "Public URL",
          "value": "public_url",
          "schema": {
            "type": "string",
            "example": "https://acme.notion.site/Launch-plan-e5f6a7b8c9d01234efab345678901234"
          }
        },
        {
          "label": "Request ID",
          "value": "request_id",
          "schema": {
            "type": "string",
            "example": "d4e8f6a3-7c5b-4a9e-8b2d-6f3c8d5a9b2e"
          }
        }
      ]
    }
  ]
}
```
