Base URL
Authentication
All API requests require authentication via theAuthorization header:
Bearer Token
Quick Start
Response Format
Success Response
Data is returned directly in the response body:Error Response
Common HTTP Status Codes
| Status | Description |
|---|---|
200 | Success |
201 | Created |
204 | No Content (for DELETE) |
400 | Bad Request - Invalid input |
401 | Unauthorized - Invalid or missing token |
403 | Forbidden - Insufficient permissions |
404 | Not Found |
409 | Conflict - Resource already exists |
500 | Internal Server Error |
Features
- Database - PostgREST-style CRUD operations
- Authentication - Email/password and OAuth authentication
- Storage - File upload, download, and management
- Functions - Invoke serverless edge functions
- AI - Chat completions and image generation
- Realtime - Channel management and message history (WebSocket for real-time)