Leads
Create Activity
Push a structured activity event to the action log for a lead
POST
This endpoint creates an activity entry on a lead’s timeline. Activities are visible in the timeline and available to the AI agent for context. Use it to log events such as sales calls, document errors, status changes, or any custom event from your system.Documentation Index
Fetch the complete documentation index at: https://docs.getomni.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Requires thex-api-key header with a valid workspace API key.
Request Body
The Omni lead ID. The lead must exist and belong to your workspace.
Event type label (e.g. “sales_call”, “document_error”, “status_change”). Shown
as a badge on the timeline card.
Short summary shown as the main title on the timeline card.
Longer description or notes. Rendered as body text on the card; long text is
clipped with a “Read more” expand.
Freeform key-value object for additional context (e.g. durationMinutes,
outcome, nextStep). Rendered in a “Details” section on the card.
Response
Whether the request succeeded
The ID of the created action log entry