---
title: "POST get-page"
method: POST
path: "get-page"
---

# POST get-page

`POST get-page`

## Request

- Base URL: `https://design.penpot.app/api/main/methods`
- URL: `https://design.penpot.app/api/main/methods/get-page`
- Auth: none declared

Retrieves the page data from file and returns it. If no page-id is
specified, the first page will be returned. If object-id is
specified, only that object and its children will be returned in the
page objects data structure.

If you specify the object-id, the page-id parameter becomes
mandatory.

Mainly used for rendering purposes on the exporter. It does not
accepts client features.

## Request body

- object
  - `fileId` string, uuid, required: UUID formatted string
  - `pageId` string, uuid: UUID formatted string
  - `shareId` string, uuid: UUID formatted string
  - `objectId` union
    - string, uuid: UUID formatted string
    - Uuid[]: Set of Strings
  - `features` string[]: Set of Strings

---

[API](https://skmtc.dev/penpot/apis/penpot-api.md) - [All operations](https://skmtc.dev/penpot/apis/penpot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/penpot/apis/penpot-api/revisions/a195708d87bc?raw)
