Overview
The Softmaple API provides programmatic access to manage documents, workspaces, and collaboration features. This reference documentation covers all available endpoints and their usage.Base URL
All API endpoints are relative to:Authentication
Most API endpoints require authentication using Supabase Auth. Include the session token in the Authorization header:Available Endpoints
Document Endpoints
Manage documents and their content
Workspace Endpoints
Create and manage workspaces
Rate Limiting
API requests are limited to:- 100 requests per minute for authenticated users
- 20 requests per minute for unauthenticated users
Response Format
All API responses are in JSON format:Error Handling
Errors are returned with appropriate HTTP status codes:400Bad Request - Invalid parameters401Unauthorized - Missing or invalid authentication403Forbidden - Insufficient permissions404Not Found - Resource doesn’t exist429Too Many Requests - Rate limit exceeded500Internal Server Error - Server-side error