Aveiro API
Authentication
Sites
List Sites
List Templates
Create Site
Pages
Create a Page
Delete a Page
List Pages
Reorder Pages
Update a Page
Audience
Newsletter API Overview
Newsletter Campaigns
Social
Social API Overview
Social Accounts
Social Media
Social Posts
TrademarkTrademark
Ctrl k
Search...
Sign up
Aveiro API
Authentication
Sites
List Sites
List Templates
Create Site
Pages
Create a Page
Delete a Page
List Pages
Reorder Pages
Update a Page
Audience
Newsletter API Overview
Newsletter Campaigns
Social
Social API Overview
Social Accounts
Social Media
Social Posts
TrademarkTrademark
AveiroBlogContact
© Aveiro. All rights reserved.
Built with Aveiro
Pages

List Pages

GET /api/v1/sites/{siteId}/pages — list every draft page in a site.
Updated 8d ago
Delete a Page
Reorder Pages
In short
GET /api/v1/sites/{siteId}/pages returns all non-deleted draft pages with path, title, dirty flag, and editor_url. Requires content:read scope and access to the site.

Request

GET /api/v1/sites/{siteId}/pages Authorization: Bearer av_live_…
Required scope: content:read Replace {siteId} with a site id from List sites.

Example

curl -s 'https://help.aveiro.app/api/v1/sites/SITE_ID/pages' \ -H 'Authorization: Bearer av_live_…'

Response

200 OK
Field
Description
idPage content ID — use for GET/PATCH/DELETE by id
pathMDX file path (for example /guides/foo.mdx)
titleFrom page metadata or derived from path
dirtytrue when draft differs from last published version
never_publishedtrue when the page has never been published
editor_urlDirect link to open the page in the editor

Get one page

By content ID:
GET /api/v1/sites/{siteId}/pages/{contentId}
By path:
GET /api/v1/sites/{siteId}/pages/by-path?path=/guides/foo.mdx
Both return full content, metadata, and revision (latest content version id).

Reorder, move, or sort

After listing pages, use Reorder pages to change tree order without editing MDX:
POST /api/v1/sites/{siteId}/reorder
Operations: reorder (explicit sibling order), move (page into a folder), sort (folder sort mode). MCP clients can call aveiro_reorder_pages with the same fields.

Review unpublished changes

GET /api/v1/sites/{siteId}/changes
Returns only pages where dirty is true — useful after a CI sync to see what still needs human review before publish.

Related

  • Create a page
  • Update a page
  • Delete a page
{
  "pages": [
    {
      "id": "343550cc-4b41-4beb-8082-f302766003cf",
      "path": "/sites/list-sites.mdx",
      "title": "List Sites",
      "dirty": true,
      "never_published": true,
      "updated_at": "2026-07-08T09:00:00.000000+00:00",
      "editor_url": "https://help.aveiro.app/en/ORG_ID/SITE_ID/edit?file=343550cc-…"
    }
  ]
}