Skip to main content

cURL Examples

All examples use the X-API-Key header for authentication. Replace YOUR_API_KEY with your actual key.

Leads

List all leads

Incremental sync (leads updated since a timestamp)

Search leads

Create a lead

Update lead outreach status

Delete a lead

Lead Sync

Bulk sync leads from CRM

Bulk delete synced leads

Conversations

Start a conversation

Send a message

List conversations

Incremental sync (conversations updated since a timestamp)

Lead Insights

Structured key points extracted from chats (same data as the dashboard Lead Insights sidebar). Preferred CRM sync payload over conversation summary.

List insights for a lead

Requires conversations:view. Path id is the lead id (not a preference document id).

Campaigns

Create a campaign

Launch a campaign

Analytics

Get overview stats

Audit Logs

Query audit logs

Export as CSV