Introduction

The Pages API lets you list pages that your app manages, such as the pages from your app's site page extensions.

To use the Pages API, follow the setup instructions for the Editor API.

Note: The Pages API resolves pages only for apps that manage pages, such as site page extensions. It's not available from a site widget or plugin's settings panel. Every method rejects there, even though the panel's own Widget API and Info API calls work normally in the same panel. There is currently no public API for getting the stable page ID of the page a widget instance is placed on.

Example

Copy

Last updated: 25 August 2026

Did this help?