Create Conversation
Add new conversations to a user’s account from external sources
Create Memories
Add facts and knowledge to the user’s memory bank
Read Conversations
Access and retrieve a user’s conversation history
Read Memories
Access facts stored in the user’s knowledge base
Quick Reference
| Capability | Method | Endpoint |
|---|---|---|
| Create Conversation | POST | /v2/integrations/{app_id}/user/conversations?uid={user_id} |
| Create Memories | POST | /v2/integrations/{app_id}/user/memories?uid={user_id} |
| Read Conversations | GET | /v2/integrations/{app_id}/conversations?uid={user_id} |
| Read Memories | GET | /v2/integrations/{app_id}/memories?uid={user_id} |
https://api.omi.me
Prerequisites
1
Understand Omi App Basics
Familiarize yourself with Omi app development and integration apps
2
Create Your App
In the Omi mobile app:
- Go to Apps → Create App
- Under App Capabilities, select External Integration
- Select Imports and choose the specific capabilities your app needs
3
Generate API Keys
Go to your app’s management page, find the API Keys section, and click Create Key
4
User Enables Your App
The user must explicitly enable your app in their Omi account before you can access their data
Authentication
All API requests require authentication using your API key in theAuthorization header:
The API key must belong to the app specified in the URL path (
app_id).Create Conversation API
Create new conversations in a user’s Omi account from external sources like phone calls, emails, or messages.Endpoint
Request Body
Field Reference
| Field | Required | Default | Description |
|---|---|---|---|
text | Yes | - | The full text content of the conversation |
started_at | No | Current time | When the conversation started (ISO 8601) |
finished_at | No | started_at + 5min | When the conversation ended (ISO 8601) |
text_source | No | audio_transcript | Source type: audio_transcript, message, or other_text |
text_source_spec | No | - | Additional source detail (e.g., phone_call, sms, email) |
language | No | en | Language code |
geolocation | No | - | Object with latitude and longitude coordinates |
Response
Success (200 OK):Example: Phone Call Transcript
Example: Phone Call Transcript
Example: Text Messages
Example: Text Messages
Example: Email
Example: Email
Example: Social Post with Location
Example: Social Post with Location
Create Memories API
Add facts and knowledge to a user’s memory bank. You can either provide raw text (Omi will extract memories automatically) or provide explicit memory objects.Endpoint
Request Options
- Extract from Text
- Explicit Memories
Provide raw text and let Omi automatically extract relevant memories:
*Either
| Field | Required | Default | Description |
|---|---|---|---|
text | Yes* | - | Text content from which memories will be extracted |
text_source | No | other | Source type: email, social_post, or other |
text_source_spec | No | - | Additional source detail |
text or memories is requiredResponse
Success (200 OK):Example: Extract from Email
Example: Extract from Email
Example: Explicit User Preferences
Example: Explicit User Preferences
Read Conversations API
Retrieve conversations from a user’s Omi account.Endpoint
Query Parameters
| Parameter | Default | Description |
|---|---|---|
limit | 100 | Maximum conversations to return (max: 1000) |
offset | 0 | Number to skip for pagination |
include_discarded | false | Include discarded conversations |
statuses | - | Filter by statuses (comma-separated) |
Response
Example: Paginated Retrieval
Example: Paginated Retrieval
Read Memories API
Retrieve memories (facts) from a user’s knowledge base.Endpoint
Query Parameters
| Parameter | Default | Description |
|---|---|---|
limit | 100 | Maximum memories to return (max: 1000) |
offset | 0 | Number to skip for pagination |
Response
Example: Retrieve All Memories
Example: Retrieve All Memories
Error Handling
All endpoints return consistent error codes:| Status | Error | Description |
|---|---|---|
| 400 | Bad Request | Invalid request format or missing required fields |
| 401 | Unauthorized | Missing or invalid Authorization header |
| 403 | Forbidden | Invalid API key, app not enabled by user, or app lacks required capability |
| 404 | Not Found | App not found |
| 422 | Unprocessable Entity | Valid format but invalid content (e.g., empty text and memories) |
| 429 | Too Many Requests | Rate limit exceeded - implement exponential backoff |
Best Practices
Get User Consent
Always ensure you have explicit user consent before creating conversations or memories on their behalf
Secure API Keys
Store API keys securely using environment variables or secret management systems - never hardcode them
Handle Errors Gracefully
Implement robust error handling with retries and logging for production reliability
Quality Over Quantity
Only create meaningful content that provides genuine value to users - avoid spam
Example Use Cases
Journal Creator
Journal Creator
Automatically create conversation entries from a journaling app, syncing daily reflections to Omi
Meeting Summarizer
Meeting Summarizer
Create structured conversation summaries after calendar meetings end, including action items
Health Tracker
Health Tracker
Generate conversations with health insights from fitness tracker data
Knowledge Base Builder
Knowledge Base Builder
Extract memories from educational content or research materials to build a personal knowledge base
Contact Manager
Contact Manager
Extract and store contact details as memories from emails and messages
Analytics Dashboard
Analytics Dashboard
Read conversations and memories to generate insights and visualizations about user patterns
Testing & Troubleshooting
1
Use Development Keys
Create a separate API key for testing to avoid affecting production data
2
Mark Test Content
Clearly mark test conversations (e.g., prefix with “[TEST]”) so they’re easy to identify and clean up
3
Verify in the Omi App
After creating content, open the Omi app to verify it appears correctly
4
Check Structured Data
For conversations, verify that title, overview, and action items are extracted correctly
| Problem | Solution |
|---|---|
| Authentication errors | Verify your API key is correct and matches the app_id in the URL |
| Permission errors | Ensure the user has enabled your app and your app has the required capability |
| Empty response | Check that you’re providing text or memories (for memory creation) |
| Rate limiting | Implement exponential backoff starting at 1 second |
Future Capabilities
The Omi team is expanding the available capabilities. Coming soon:- Update existing conversations
- Update existing memories
- Set reminders
- Access and update user preferences