Documentation Index
Fetch the complete documentation index at: https://docs.marblecms.com/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start
Make your first API request in seconds! Copy and paste this command into your terminal:Creating an API Key
Open your workspace settings
Navigate to your workspace dashboard and click Settings in the sidebar.
Create a new key
Click Create API Key, give it a descriptive name (e.g., “Production
Website”), and select the appropriate permissions.
Authentication
Include your API key in theAuthorization header:
- cURL
- JavaScript
key query parameter:
The
Authorization header method is recommended for security. Query
parameters may appear in server logs.Available Resources
- Posts: List, get, create, update, or delete posts
- Authors: List, get, create, update, or delete authors
- Categories: List, get, create, update, or delete categories
- Tags: List, get, create, update, or delete tags
- Media: List, get, upload, update, or delete media assets
Next Steps
Pagination
Learn how to paginate through large result sets.
Rate Limits
Understand API rate limiting and best practices.
TypeScript Types
Use our TypeScript definitions for type-safe development.