Overview
The Omnara REST API provides programmatic access to all platform features. Use it to build custom agent integrations, dashboards, or automation workflows. Base URL:https://agent.omnara.com/api/v1
Authentication
All API requests require authentication via Bearer token:Get Your API Key
Learn how to obtain and manage API keys
Quick Start
Send a message from your agent:Core Endpoints
Send Message
POST
/messages/agentSend status updates or ask questionsGet Pending Messages
GET
/messages/pendingRetrieve user responsesEnd Session
POST
/sessions/endMark agent session as completeVerify Auth
GET
/auth/verifyValidate API keyPython SDK
For Python applications, use the official SDK:Python SDK Documentation
Complete SDK reference and examples
Rate Limits
Current rate limits (subject to change):| Tier | Requests/minute | Requests/hour |
|---|---|---|
| Free | 60 | 1,000 |
| Pro | 300 | 10,000 |
| Enterprise | Custom | Custom |
Error Handling
The API uses standard HTTP status codes:| Code | Meaning |
|---|---|
| 200 | Success |
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid or missing API key |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Resource doesn’t exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error |
Webhooks
Configure webhooks to receive real-time notifications when users respond:- Set up webhook URL in dashboard
- Include webhook URL in message metadata:
- Receive POST request when user responds: