Website API
10 endpoints. All requests need an Authorization header — see Authentication. API keys additionally need the matching scope.
| Method | Path | Description |
|---|---|---|
GET |
/api/pages/ |
List Pages Query: status, limit, offset. |
POST |
/api/pages/ |
Create Page Accepts a JSON body. |
GET |
/api/pages/site-settings |
Get Site Settings |
PUT |
/api/pages/site-settings |
Update Site Settings Accepts a JSON body. |
GET |
/api/pages/{page_id} |
Get Page |
PATCH |
/api/pages/{page_id} |
Update Page Accepts a JSON body. |
DELETE |
/api/pages/{page_id} |
Delete Page |
POST |
/api/pages/{page_id}/publish |
Publish Page |
POST |
/api/pages/{page_id}/set-homepage |
Set Homepage |
POST |
/api/pages/{page_id}/unpublish |
Unpublish Page |
Try it
The full request/response schema for every endpoint is in the OpenAPI spec served by your own workspace.