---
title: "Get pages for a website"
method: GET
path: "/v1/builder/websites/{website_id}/pages"
tags: ["Builder"]
---

# Get pages for a website

`GET /v1/builder/websites/{website_id}/pages`

## Request

- Base URL: `https://api.10web.io`
- URL: `https://api.10web.io/v1/builder/websites/{website_id}/pages`
- Auth: none declared. Required headers: `x-api-key`
- TypeScript: <https://skmtc.dev/10web/apis/10web-api-v1/docs/v1/builder/websites/:website_id/pages/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a list of all pages for a specific website in the builder interface

## Path parameters

- `website_id` integer, required

## Headers

- `x-api-key` string, required

## Response `200`

List of pages retrieved successfully

- GetPagesResponse
  - `msg` string: Status message
  - `status` integer: HTTP status code
  - `data` BuilderPage[]: List of pages for the website
    - `ID` integer: Page ID
    - `title` string: Page title
    - `url` string: Page URL
    - `post_modified` string, date-time: Date when the page was last modified
    - `post_date` string, date-time: Date when the page was created
    - `twbb_created_with` string: The tool used to create the page
    - `post_type` string: Type of post (e.g., page)
    - `template_type` string: Template type for the page
    - `is_edited` boolean: Whether the page has been edited
    - `post_status` 'publish' | 'draft' | 'pending' | 'private': Publication status of the page
    - `page_on_front` boolean, nullable: Whether this page is set as the front page

## Other responses

- `403`: Unauthorized access
- `429`: Too many requests
- `500`: Something went wrong

---

[API](https://skmtc.dev/10web/apis/10web-api-v1.md) - [All operations](https://skmtc.dev/10web/apis/10web-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/10web/apis/10web-api-v1/revisions/01afc9651dfc?raw)
