> For the complete documentation index, see [llms.txt](https://docs.tebex.io/developers/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tebex.io/developers/headless-api/guides/pages/get-custom-pages.md).

# Get Custom Pages

Gets a list of **custom pages** associated with the webstore. These contain a `content` variable with the HTML content of the page.

## Get custom pages defined for the webstore.

> Gets a list of custom pages associated with the webstore. These contain a \`content\` variable with the HTML content of the page.

```json
{"openapi":"3.1.0","info":{"title":"Tebex Headless API","version":"2.0.0"},"tags":[{"name":"Headless","description":"Main API scoped to public token"}],"servers":[{"url":"https://headless.tebex.io/api/accounts/{token}","description":"Main API scoped to public token","variables":{"token":{"default":"","description":"The store's public token"}}}],"paths":{"/pages":{"get":{"tags":["Headless"],"operationId":"getCustomPages","summary":"Get custom pages defined for the webstore.","description":"Gets a list of custom pages associated with the webstore. These contain a `content` variable with the HTML content of the page.","responses":{"200":{"description":"Successful response returns the webstore's pages.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CMSPagesResponse"}}}}}}}},"components":{"schemas":{"CMSPagesResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CMSPage"}}}},"CMSPage":{"type":"object","properties":{"id":{"type":"integer"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"account_id":{"type":"integer"},"title":{"type":"string"},"slug":{"type":"string"},"private":{"type":"boolean"},"hidden":{"type":"boolean"},"disabled":{"type":"boolean"},"sequence":{"type":"boolean"},"content":{"type":"string"}}}}}}
```
