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
Home

Aveiro API

REST API reference for automating draft content with organization-scoped bearer tokens.
Avatar
Published by Quasar 1mo ago
TrademarkTrademark
AveiroBlogContact
© Aveiro. All rights reserved.
Built with Aveiro
In short
The Aveiro API (/api/v1) lets CI tools and AI agents list sites, read and write draft MDX pages, and review unpublished changes. Tokens cannot publish — you review in the editor and publish manually.

What this API is for

Use the Aveiro API when you want automation to:
  • List sites your token can access
  • Create and update draft pages (MDX content + metadata)
  • Delete draft pages you no longer need
  • Review dirty drafts before publishing in the editor
Typical workflows: docs sync from git, AI agents drafting content, internal scripts keeping help sites up to date.

Base URL

All routes live under /api/v1 on your Aveiro platform host: Replace the host with your own app URL when self-hosting or using a custom domain.

Authentication

Every request requires a bearer token: Create tokens in Organization → API tokens. See Authentication for scopes and site restrictions.

Endpoints

Guide
Method
Route
List sitesGET/api/v1/sites
Get siteGET/api/v1/sites/{siteId}
List pagesGET/api/v1/sites/{siteId}/pages
Get pageGET/api/v1/sites/{siteId}/pages/{contentId}
Get page by pathGET/api/v1/sites/{siteId}/pages/by-path?path=...
Create pagePOST/api/v1/sites/{siteId}/pages
Update pagePATCH/api/v1/sites/{siteId}/pages/{contentId}
Delete pageDELETE/api/v1/sites/{siteId}/pages/{contentId}
Review changesGET/api/v1/sites/{siteId}/changes
Token infoGET/api/v1/me

Draft-only workflow

The API never publishes content. After automation writes drafts:
  • Open the editor_url from any page response
  • Review in Visual or Source mode
  • Publish from the editor when ready
Use GET …/changes to see which pages still have unpublished edits.

Related

  • Authentication
  • List sites
  • Create a page
  • Delete a page
  • Platform help: API tokens
https://help.aveiro.app/api/v1
Authorization: Bearer av_live_…