Skip to main content

Overview

Omi supports two types of notifications you can send to users:

Direct Notifications

Send immediate, exact-text messages to specific users

Proactive Notifications

AI-generated contextual messages based on real-time conversations

Direct Flow

Proactive Flow


Direct Notifications

Send immediate messages to specific users. Perfect for alerts, updates, and responses to user actions.
  • Task reminders and event notifications
  • Service updates or changes
  • Real-time alerts and warnings
  • Responses to user queries
  • New feature announcements

API Reference

Query Parameters:

Implementation

Get Credentials

You’ll need your App ID and App Secret from the Omi developer portal.
Store credentials securely - never commit them to version control.

Send Notification

Make a POST request with the user ID and message:

Handle Response

Check the response status code to confirm delivery.

Code Examples


Proactive Notifications

Context-aware, AI-generated notifications that leverage user data during real-time conversations. You provide a prompt template, Omi generates the personalized message.
Unlike direct notifications, proactive notifications require an app with specific capabilities and user-granted permissions.
  • Real-time mentoring advice during meetings
  • Context-aware suggestions based on conversation topics
  • Personalized insights based on user’s goals
  • Intelligent responses to specific phrases
  • Meeting action item reminders
  1. User installs your app and grants permissions
  2. During conversations, Omi sends transcripts to your webhook
  3. Your webhook analyzes the transcript and returns a prompt template
  4. Omi fills in user context (name, facts, etc.) and generates the notification
  5. User receives a personalized, contextual notification

App Configuration

Your app needs these capabilities:

Available Scopes

Webhook Implementation

Your webhook receives real-time transcripts and returns notification prompts: Incoming Request:
Request Body:
Response (when you want to send a notification):
Response (when no notification needed):

Complete Example

Testing

Enable Developer Mode

Open Omi app → Settings → Developer Mode

Install Your App

Install your app in Developer Mode and grant requested scopes

Set Webhook URL

Configure your webhook URL in Developer Settings

Trigger Notifications

Start a conversation and say trigger phrases (e.g., “what do you think?”)

Verify

Notification should appear within 30 seconds
Rate Limit: 1 proactive notification per user per app every 30 seconds.

Best Practices

Rate Limiting

  • Implement delays between notifications
  • Avoid duplicate messages
  • Group related notifications

Content Quality

  • Keep messages concise and clear
  • Include relevant context
  • Use appropriate urgency levels

Error Handling

  • Implement retry with exponential backoff
  • Log errors for debugging
  • Monitor delivery status

Security

  • Store credentials securely
  • Validate user IDs before sending
  • Use HTTPS for all endpoints

Troubleshooting

Error Codes

Check these:
  • API credentials are correct
  • User ID is valid
  • Bearer token is properly formatted
  • Request includes required headers
Check these:
  • App has proactive_notification capability enabled
  • User has installed your app
  • User has granted requested scopes
  • Webhook is returning proper response format
  • Prompt is at least 5 characters
Solutions:
  • Request additional scopes in app configuration
  • Include more template variables in your prompt
  • Make prompts more specific about using the context

Integration Apps

Build webhook-based integrations

OAuth Setup

Add authentication to your apps

Chat Tools

Add custom tools to Omi chat

Submit Your App

Publish your app to the store