Skip to main content
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.

Authentication

Requires the x-api-key header with a valid workspace API key.

Request Body

string
required
The Omni lead ID. The lead must exist and belong to your workspace.
string
required
Event type label (e.g. “sales_call”, “document_error”, “status_change”). Shown as a badge on the timeline card.
string
required
Short summary shown as the main title on the timeline card.
string
Longer description or notes. Rendered as body text on the card; long text is clipped with a “Read more” expand.
object
Freeform key-value object for additional context (e.g. durationMinutes, outcome, nextStep). Rendered in a “Details” section on the card.

Response

boolean
Whether the request succeeded
string
The ID of the created action log entry