synaptiq Live demo
  • How It Works
  • Pricing
  • ROI Calculator
  • Docs
  • Blog
  • FAQ
Log InStart Free Pilot
synaptiq

AI-powered sales agent that qualifies leads and books meetings autonomously.

Product
  • How It Works
  • Pricing
  • ROI Calculator
  • FAQ
Resources
  • Blog
  • Docs
  • API Reference
  • Embed Guide
Legal
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
© 2026 Synaptiq. All rights reserved.
Documentation
  • Quick Start Guide
  • Embed the Widget on Your Site
  • Configure Your AI Agent
  • Upload Your Knowledge Base
  • Test Your First Conversation
  • Understanding Your Dashboard Metrics
  • Managing Leads and Conversations
  • Using the Conversion Funnel
  • Exporting Data
  • Live Conversations
  • ROI Report
  • Choosing a Theme
  • Customizing the Chat Icon
  • Position and Sizing Options
  • Custom CSS Overrides
  • Proactive Triggers
  • White Label
  • A/B Testing
  • Choosing an Industry Template
  • Customizing Qualification Criteria
  • Writing Effective Greeting Messages
  • Objection Handling Best Practices
  • Uploading Documents
  • Supported File Formats
  • How the AI Uses Your Documents
  • Testing Queries Against Your Knowledge Base
  • Calendar Setup (Cal.com / Calendly)
  • CRM Sync (HubSpot)
  • Webhook Configuration
  • Notification Settings
  • Zapier / Make Integration
  • Zapier Integration
  • Authentication
  • Chat API
  • Leads API
  • Conversations API
  • Analytics API
  • Webhooks
  • Rate Limits and Error Codes
  • Code Examples
  • Plans and Pricing
  • Usage Metering
  • Managing Your Subscription
  • Invoices and Receipts
Docs/API Reference/Conversations API

Conversations API

Retrieve and filter AI-powered sales conversations and their message histories.

Conversations API

The Conversations API provides access to all AI sales conversations captured by Synaptiq. Retrieve conversation lists, view full message histories, and filter by lead, status, or date range.

List Conversations

GET /v1/conversations

Retrieve a paginated list of conversations with optional filtering.

Query Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number. Default: 1.
limitintegerNoResults per page. Min: 1, Max: 100. Default: 25.
leadIdstringNoFilter conversations belonging to a specific lead.
statusstringNoFilter by status: active, closed, handed_off, expired.
channelstringNoFilter by channel: web_chat, api, whatsapp, slack.
startDatestringNoISO 8601 date. Return conversations started on or after this date.
endDatestringNoISO 8601 date. Return conversations started on or before this date.
sortBystringNoSort field: startedAt, lastMessageAt, messageCount. Default: lastMessageAt.
sortOrderstringNoSort direction: asc or desc. Default: desc.

Request

curl "https://synaptiqintel.com/api/v1/conversations?status=active&limit=5&sortBy=lastMessageAt" \
  -H "Authorization: Bearer sk_live_abc123def456ghi789jkl012mno345"

Response

{
  "data": [
    {
      "id": "conv_01HQ7ABC2DEF3GHI4JKL5MNO6P",
      "leadId": "lead_01HQ3VXK9BWMN4F6T2P8R5GYSC",
      "visitorId": "visitor_8f3a2b1c",
      "channel": "web_chat",
      "status": "active",
      "subject": "Pricing inquiry and demo request",
      "messageCount": 12,
      "summary": "Visitor inquired about Pro plan pricing, requested a live demo, and asked about CRM integrations. High purchase intent detected.",
      "intents": ["pricing_inquiry", "demo_request", "integration_question"],
      "leadScore": 87,
      "assignedTo": null,
      "startedAt": "2026-04-05T09:15:00.000Z",
      "lastMessageAt": "2026-04-05T11:42:00.000Z",
      "createdAt": "2026-04-05T09:15:00.000Z"
    },
    {
      "id": "conv_01HQ7QRS8TUV9WXY0ZAB1CDE2F",
      "leadId": "lead_01HQ6JKL8MWPN3D5R7S9T1UVWX",
      "visitorId": "visitor_2d4e6f8a",
      "channel": "web_chat",
      "status": "active",
      "subject": "Product comparison question",
      "messageCount": 6,
      "summary": "Visitor compared Synaptiq with a competitor. Asked about feature differences and onboarding timeline.",
      "intents": ["competitor_comparison", "onboarding_inquiry"],
      "leadScore": 64,
      "assignedTo": null,
      "startedAt": "2026-04-05T10:30:00.000Z",
      "lastMessageAt": "2026-04-05T10:48:00.000Z",
      "createdAt": "2026-04-05T10:30:00.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 5,
    "total": 142,
    "totalPages": 29,
    "hasMore": true
  }
}

Get a Conversation

GET /v1/conversations/{id}

Retrieve a single conversation with its full message history.

Query Parameters

ParameterTypeRequiredDescription
includeMessagesbooleanNoInclude the full message array. Default: true.
messageLimitintegerNoMax messages to return. Default: 50. Max: 200.
messageOffsetintegerNoSkip this many messages from the beginning. Default: 0.

Request

curl "https://synaptiqintel.com/api/v1/conversations/conv_01HQ7ABC2DEF3GHI4JKL5MNO6P?messageLimit=10" \
  -H "Authorization: Bearer sk_live_abc123def456ghi789jkl012mno345"

Response

{
  "id": "conv_01HQ7ABC2DEF3GHI4JKL5MNO6P",
  "leadId": "lead_01HQ3VXK9BWMN4F6T2P8R5GYSC",
  "visitorId": "visitor_8f3a2b1c",
  "channel": "web_chat",
  "status": "active",
  "subject": "Pricing inquiry and demo request",
  "messageCount": 12,
  "summary": "Visitor inquired about Pro plan pricing, requested a live demo, and asked about CRM integrations. High purchase intent detected.",
  "intents": ["pricing_inquiry", "demo_request", "integration_question"],
  "leadScore": 87,
  "metadata": {
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)",
    "referrer": "https://www.google.com",
    "landingPage": "/pricing"
  },
  "messages": [
    {
      "id": "msg_01HQ7ABC000000000000000001",
      "role": "user",
      "content": "Hi, I'm looking at your pricing page. Can you explain the difference between Pro and Enterprise?",
      "createdAt": "2026-04-05T09:15:00.000Z"
    },
    {
      "id": "msg_01HQ7ABC000000000000000002",
      "role": "assistant",
      "content": "Hi there! Happy to help break that down for you.\n\n**Pro ($149/mo)** is designed for growing teams and includes up to 10,000 conversations per month, 5 AI agents, advanced analytics, and integrations with popular CRMs like Salesforce and HubSpot.\n\n**Enterprise** is our custom plan for large organizations. It includes unlimited conversations, dedicated account management, custom AI model training, SSO, and an SLA guarantee.\n\nWhat size is your team? That'll help me recommend the right fit.",
      "intent": "pricing_inquiry",
      "confidence": 0.96,
      "createdAt": "2026-04-05T09:15:02.000Z"
    },
    {
      "id": "msg_01HQ7ABC000000000000000003",
      "role": "user",
      "content": "We have about 50 sales reps. We're currently using Drift but looking to switch.",
      "createdAt": "2026-04-05T09:16:30.000Z"
    },
    {
      "id": "msg_01HQ7ABC000000000000000004",
      "role": "assistant",
      "content": "With 50 reps, the Enterprise plan would be the best fit. Many of our customers have migrated from Drift and typically see a 40% improvement in lead qualification accuracy.\n\nWould you like to schedule a personalized demo? I can connect you with our Enterprise team to discuss a custom package.",
      "intent": "competitor_comparison",
      "confidence": 0.91,
      "createdAt": "2026-04-05T09:16:33.000Z"
    }
  ],
  "startedAt": "2026-04-05T09:15:00.000Z",
  "lastMessageAt": "2026-04-05T11:42:00.000Z",
  "createdAt": "2026-04-05T09:15:00.000Z"
}

Filter by Lead

Retrieve all conversations for a specific lead by passing the leadId query parameter:

curl "https://synaptiqintel.com/api/v1/conversations?leadId=lead_01HQ3VXK9BWMN4F6T2P8R5GYSC" \
  -H "Authorization: Bearer sk_live_abc123def456ghi789jkl012mno345"

This returns all conversations associated with that lead across all channels and time periods.

Filter by Date Range

Use startDate and endDate to scope conversations to a specific window:

curl "https://synaptiqintel.com/api/v1/conversations?startDate=2026-04-01T00:00:00Z&endDate=2026-04-05T23:59:59Z&status=closed" \
  -H "Authorization: Bearer sk_live_abc123def456ghi789jkl012mno345"

Dates must be in ISO 8601 format. Both parameters are optional and can be used independently.

Conversation Statuses

StatusDescription
activeThe conversation is ongoing. New messages can be sent and received.
closedThe conversation has been marked as complete.
handed_offThe conversation was transferred to a human agent.
expiredThe session timed out after 30 minutes of inactivity.

Response Fields Reference

FieldTypeDescription
idstringUnique conversation identifier.
leadIdstringThe associated lead ID, if identified.
visitorIdstringAnonymous visitor identifier.
channelstringThe channel where the conversation took place.
statusstringCurrent conversation status.
subjectstringAI-generated subject summarizing the conversation topic.
messageCountintegerTotal number of messages in the conversation.
summarystringAI-generated summary of the conversation.
intentsstring[]Array of detected intents throughout the conversation.
leadScoreintegerThe lead score at the end of the conversation (0-100).
assignedTostringUser ID of the assigned agent, if handed off.
messagesarrayArray of message objects (when includeMessages is true).
startedAtstringISO 8601 timestamp of the first message.
lastMessageAtstringISO 8601 timestamp of the most recent message.
createdAtstringISO 8601 timestamp of conversation creation.

Error Responses

Status CodeErrorDescription
400invalid_requestInvalid query parameters or date format.
401unauthorizedInvalid or missing API key.
404not_foundConversation with the given ID does not exist.

Was this page helpful?

PreviousLeads APINextAnalytics API