API Reference
Advanced
API Reference
Complete REST API documentation for programmatically managing content, templates, assets, and site structure
Overview
The Airogel CMS API v1 provides RESTful JSON endpoints for programmatically managing content, templates, assets, and site structure. This API is designed to support external integrations such as content importers, headless CMS clients, and automation tools.
Base URL: https://api.airogelcms.com/v1/accounts/:account_id
Import Order of Operations
When importing content from external sources (e.g., WordPress), follow this order:
- Create Blueprint(s) - Define field structures first
- Create Collection(s) - Reference existing blueprints via
blueprint_handle - Upload Assets - Images, videos, and other media files
- Create Entries - Content items referencing collections and blueprints
- Create Navigation - Menu structures (optional)
- Upload Templates - Liquid templates for rendering
- Create Globals - Site-wide settings (optional)
This order ensures all dependencies are resolved when creating content.