API OverviewAPI
The TrioCMS REST API lets you do everything the admin can — create & manage sites, pages, articles, sections, and trigger AI imports. Account administration (creating accounts, deleting users) is intentionally out of scope.
Base URL
https://api.triocms.net/v1
Auth
Every request needs an API key (get one at /keys):
Authorization: Bearer tk_xxxxxxxx
# or
X-API-Key: tk_xxxxxxxx
Responses
JSON. Booleans are real booleans, ids are integers. Errors look like:
{ "error": "site not found" } // with the matching HTTP status
Identity check
curl https://api.triocms.net/v1/me -H "Authorization: Bearer tk_..."