---
title: "List pages"
method: GET
path: "/pages"
---

# List pages

`GET /pages`

## Request

- Base URL: `https://api.ecommerceapi.uk/v1`
- URL: `https://api.ecommerceapi.uk/v1/pages`
- Auth: HTTP basic

Retrieves a list of pages with pagination.

## Query parameters

- `count` integer
- `offset` integer
- `sort` 'created' | 'created_asc' | 'created_desc'
- `fields` string

## Response `200`

A list of pages.

- Page[]
  - `id` integer: Unique identifier for the page.
  - `createdAt` string, date-time: Timestamp when the page was created.
  - `title` string: The name/title of the page.
  - `slug` string: The URL slug for the page.
  - `url` string: The full URL for the page.
  - `metaTitle` string: The title tag for the page.
  - `metaKeywords` string: The meta keywords for the page.
  - `metaDescription` string: The meta description for the page.

## Other responses

- `400`: Invalid request parameters.
- `401`: Unauthorized. Invalid or missing API key.
- `500`: Server error.

---

[API](https://skmtc.dev/ecommerceapi/apis/website-pages.md) - [All operations](https://skmtc.dev/ecommerceapi/apis/website-pages/llms.txt) - [OpenAPI document](https://skmtc.dev/ecommerceapi/apis/website-pages/revisions/bf3bc3622f22?raw)
