omi-api-integration

Omi API Integration Skill

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "omi-api-integration" with this command: npx skills add basedhardware/omi/basedhardware-omi-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 memories

  • POST /v1/dev/user/memories

  • Create memory

  • POST /v1/dev/user/memories/batch

  • Create up to 25 memories

  • GET /v1/dev/user/conversations

  • Get conversations

  • POST /v1/dev/user/conversations

  • Create conversation

  • GET /v1/dev/user/action-items

  • Get action items

  • POST /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 memories

  • create_memory

  • Create a memory

  • edit_memory

  • Edit a memory

  • delete_memory

  • Delete a memory

  • get_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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

rotate-key

No summary provided by upstream source.

Repository SourceNeeds Review
General

debug-mode

No summary provided by upstream source.

Repository SourceNeeds Review
General

omi-flutter-patterns

No summary provided by upstream source.

Repository SourceNeeds Review
General

rule-updater

No summary provided by upstream source.

Repository SourceNeeds Review