Omni REST API
The Omni REST API provides programmatic access to all omnichannel messaging features. Send messages, manage instances, and track conversations across WhatsApp, Discord, Slack, and more.Base URL
localhost:8000 with your Omni server address.
Quick Start
1. Start Omni Server
2. Test the API
Authentication
The Omni API supports multiple authentication methods:- API Key
- Bearer Token
- No Auth (Development)
Core Endpoints
Send Message
Send text, media, or reactions to any platform
Manage Instances
Create, configure, and monitor messaging instances
Message Traces
Track, debug, and analyze all messages
Webhooks
Coming Soon: Receive real-time message events
Rate Limits
| Endpoint | Limit | Window |
|---|---|---|
| Send Message | 60 requests | 1 minute |
| Manage Instances | 30 requests | 1 minute |
| Get Traces | 100 requests | 1 minute |
Error Handling
All errors follow a consistent format:Common Error Codes
| Code | HTTP Status | Description |
|---|---|---|
INSTANCE_NOT_FOUND | 404 | Instance doesn’t exist |
INSTANCE_NOT_CONNECTED | 503 | Instance is disconnected |
INVALID_PHONE_NUMBER | 400 | Phone number format invalid |
MESSAGE_SEND_FAILED | 500 | Failed to send message |
RATE_LIMIT_EXCEEDED | 429 | Too many requests |
SDKs and Libraries
- Python
- JavaScript/TypeScript
- cURL
Interactive Documentation
Omni includes built-in Swagger/OpenAPI documentation:- 🧪 Test all endpoints directly
- 📖 See request/response schemas
- 🔐 Configure authentication
- 💾 Download OpenAPI spec

