API Reference
Build powerful integrations with the emma API.Base URL
Authentication
All API requests require authentication using an API key.Get your API key from the emma Dashboard.
Quick Start
Available Endpoints
Sessions
Create and manage conversation sessions.
Messages
Send messages and receive responses.
Knowledge
Manage your knowledge base.
Webhooks
Set up event notifications.
Rate Limits
| Plan | Requests per minute |
|---|---|
| Free | 10 |
| Pro | 100 |
| Enterprise | Custom |
Response Format
All responses are returned in JSON format:Error Handling
Errors follow a consistent format:| Status Code | Description |
|---|---|
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 429 | Rate Limited |
| 500 | Internal Server Error |