omi-api-integration
Omi API Integration Skill
This skill provides guidance for integrating with Omi APIs, including Developer API, MCP server, and webhook integrations.
When to Use
Use this skill when:
- Building integrations with Omi
- Using the Developer API
- Setting up MCP server
- Creating webhook integrations
- Working with OAuth flows
Key Patterns
Developer API
Base URL: https://api.omi.me/v1/dev
Authentication: Bearer token with omi_dev_ prefix
Getting API Key
- Open Omi app
- Settings → Developer → Create Key
- Copy key immediately (won't be shown again)
Making Requests
import requests
headers = {
"Authorization": "Bearer omi_dev_your_key_here"
}
# Get memories
response = requests.get(
"https://api.omi.me/v1/dev/user/memories",
headers=headers,
params={"limit": 10}
)
memories = response.json()
Available Endpoints
GET /v1/dev/user/memories- Get memoriesPOST /v1/dev/user/memories- Create memoryPOST /v1/dev/user/memories/batch- Create up to 25 memoriesGET /v1/dev/user/conversations- Get conversationsPOST /v1/dev/user/conversations- Create conversationGET /v1/dev/user/action-items- Get action itemsPOST /v1/dev/user/action-items- Create action item
MCP Server
Purpose: Enable AI assistants (like Claude) to interact with Omi data
Hosted MCP Server (SSE)
URL: https://api.omi.me/v1/mcp/sse
Authentication: Bearer token with omi_mcp_ prefix
Available Tools
get_memories- Retrieve memoriescreate_memory- Create a memoryedit_memory- Edit a memorydelete_memory- Delete a memoryget_conversations- Retrieve conversations
Configuration
{
"mcpServers": {
"omi": {
"url": "https://api.omi.me/v1/mcp/sse",
"apiKey": "omi_mcp_your_key_here"
}
}
}
Webhook Integrations
Memory Creation Webhook
Trigger: When a memory is created
Endpoint: POST /webhook/memory-created
Payload:
{
"id": "memory_id",
"content": "Memory content",
"category": "personal",
"user_id": "user_uid",
"created_at": "2024-01-01T00:00:00Z"
}
Real-time Transcript Webhook
Trigger: As transcript segments arrive
Endpoint: POST /webhook/transcript
Payload:
{
"text": "Transcript segment",
"timestamp": 1234567890,
"conversation_id": "conv_id",
"user_id": "user_uid"
}
OAuth Integration
Google OAuth
- Create OAuth 2.0 Client in Google Cloud Console
- Configure authorized origins and redirect URIs
- Use client ID and secret in app
Apple OAuth
- Create App ID with Sign In with Apple
- Create Services ID
- Create private key (.p8 file)
- Configure in Firebase Console
Common Tasks
Creating an Integration
- Set up webhook endpoint
- Register webhook URL in app configuration
- Handle webhook payloads
- Process and react to events
Using Developer API
- Generate API key in Omi app
- Store key securely (environment variable)
- Make authenticated requests
- Handle rate limits (100/min, 10,000/day)
Setting Up MCP
- Generate MCP API key in Omi app
- Configure MCP client (Claude Desktop, etc.)
- Use tools to interact with Omi data
Related Documentation
The docs/ folder is the single source of truth for all user-facing documentation, deployed at docs.omi.me.
- API Overview:
docs/doc/developer/api/overview.mdx- View online - API Endpoints:
docs/api-reference/- View online - Memories API:
docs/doc/developer/api/memories.mdx- View online - Conversations API:
docs/doc/developer/api/conversations.mdx- View online - Action Items API:
docs/doc/developer/api/action-items.mdx- View online - MCP:
docs/doc/developer/MCP.mdx- View online - Plugin Development:
docs/doc/developer/apps/Introduction.mdx- View online - OAuth:
docs/doc/developer/apps/Oauth.mdx- View online
Related Cursor Resources
Rules
.cursor/rules/backend-api-patterns.mdc- Backend API patterns.cursor/rules/backend-architecture.mdc- Backend architecture.cursor/rules/plugin-development.mdc- Plugin development patterns.cursor/rules/web-nextjs-patterns.mdc- Web API integration
Subagents
.cursor/agents/backend-api-developer/- Uses this skill for API development.cursor/agents/plugin-developer/- Uses this skill for plugin integration.cursor/agents/web-developer/- Uses this skill for web integration.cursor/agents/sdk-developer/- Uses this skill for SDK development
Commands
/backend-setup- Uses this skill for API setup/create-plugin- Uses this skill for plugin integration/update-api-docs- Uses this skill for API documentation
More from basedhardware/omi
local-dev
Start local development environment — backend, macOS app, or Flutter mobile in iOS simulator. Use when: 'run the app', 'start backend', 'run simulator', 'flutter run', 'local dev', 'start dev environment', 'run mobile app'.
45rotate-key
Rotate an API key or secret across all locations — local .env files, macOS Keychain, GCP Secret Manager, Kubernetes deployments, and Codemagic CI. Use when: 'rotate key', 'update key', 'key leaked', 'replace secret', 'new API key', 'update GEMINI key', 'rotate secret'.
26self-improvement
Meta-skill for analyzing PRs, issues, and user interactions to improve Cursor rules and skills automatically
14debug-mode
Debug mode workflows and best practices for troubleshooting bugs, regressions, and performance issues. Use when debugging tricky issues that standard agent interactions struggle with.
13docs-automation
Automate documentation updates when API endpoints, functions, or architecture change. Detects code changes that require doc updates, generates API reference from FastAPI routers, updates architecture diagrams, and syncs between internal and external docs.
13omi-flutter-patterns
Flutter Dart BLE device communication state management Provider backend integration localization cross-platform iOS Android
13