---
title: "List modern SharePoint pages on a site"
method: GET
path: "/v1/capabilities/microsoft-365/sites/{siteId}/pages"
tags: ["Capability Sources"]
---

# List modern SharePoint pages on a site

`GET /v1/capabilities/microsoft-365/sites/{siteId}/pages`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/capabilities/microsoft-365/sites/{siteId}/pages`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Lists SharePoint modern pages (SitePages) on one site with titles, filenames, IDs and URLs. Uses the SharePoint site access permission. Pass nextPageToken as pageToken for the next page; hasMore with a null token means the list is partial.

## Path parameters

- `siteId` string, required

## Query parameters

- `maxResults` integer
- `pageToken` string

## Response `200`

SharePoint pages returned.

- Microsoft365SitePagesResponse
  - `ok` true, required
  - `pages` Microsoft365SitePageSummary[], required
    - `id` string, required
    - `name` string, required
    - `title` string, required
    - `description` string, required
    - `webUrl` string, required
    - `createdDateTime` string, required
    - `lastModifiedDateTime` string, required
    - `pageLayout` string, required
  - `nextPageToken` string, nullable, required
  - `hasMore` boolean, required

## Other responses

- `400`: A request parameter or payload is invalid.
- `401`: The caller must be signed in.
- `403`: The connection is blocked by organization policy.
- `409`: The calling member has not connected Microsoft 365 or is missing permission.
- `502`: Microsoft Graph rejected the request.

## Changes

- **2026-12-02** `79f1f5ef5c76`: 1 info
  - removed the non-success response with the status `404`
- **2026-11-30** `8491c9c1b679`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/capabilities/microsoft-365/sites/:siteId/pages/get.md)

---

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