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/Analytics API

Analytics API

Access sales performance metrics, conversion funnels, and activity data from the Synaptiq platform.

Analytics API

The Analytics API provides programmatic access to Synaptiq's sales intelligence data. Retrieve summary metrics, conversion funnel breakdowns, and granular activity feeds to power dashboards, reports, and data pipelines.

Overview Metrics

GET /v1/analytics/overview

Returns high-level summary metrics for your Synaptiq account over a specified date range.

Query Parameters

ParameterTypeRequiredDescription
startDatestringNoISO 8601 date. Start of the reporting period. Default: 30 days ago.
endDatestringNoISO 8601 date. End of the reporting period. Default: today.
granularitystringNoData granularity: day, week, month. Default: day.
compareWithstringNoCompare with a previous period: previous_period, previous_year.

Request

curl "https://synaptiqintel.com/api/v1/analytics/overview?startDate=2026-03-01&endDate=2026-03-31&granularity=week" \
  -H "Authorization: Bearer sk_live_abc123def456ghi789jkl012mno345"

Response

{
  "period": {
    "startDate": "2026-03-01",
    "endDate": "2026-03-31"
  },
  "summary": {
    "totalConversations": 3847,
    "totalLeads": 612,
    "qualifiedLeads": 289,
    "conversionRate": 0.0751,
    "avgLeadScore": 54.3,
    "avgResponseTime": 1.2,
    "avgMessagesPerConversation": 8.4,
    "handoffRate": 0.12,
    "totalRevenuePipeline": 847500.00
  },
  "comparison": null,
  "timeSeries": [
    {
      "period": "2026-03-01/2026-03-07",
      "conversations": 892,
      "leads": 143,
      "qualifiedLeads": 67,
      "conversionRate": 0.0751
    },
    {
      "period": "2026-03-08/2026-03-14",
      "conversations": 1021,
      "leads": 168,
      "qualifiedLeads": 82,
      "conversionRate": 0.0803
    },
    {
      "period": "2026-03-15/2026-03-21",
      "conversations": 978,
      "leads": 152,
      "qualifiedLeads": 71,
      "conversionRate": 0.0726
    },
    {
      "period": "2026-03-22/2026-03-31",
      "conversations": 956,
      "leads": 149,
      "qualifiedLeads": 69,
      "conversionRate": 0.0722
    }
  ]
}

Summary Fields

FieldTypeDescription
totalConversationsintegerTotal AI conversations during the period.
totalLeadsintegerNew leads captured during the period.
qualifiedLeadsintegerLeads that reached qualified status.
conversionRatenumberPercentage of conversations that generated a lead.
avgLeadScorenumberAverage lead score across all new leads.
avgResponseTimenumberAverage AI response time in seconds.
avgMessagesPerConversationnumberAverage number of messages per conversation.
handoffRatenumberPercentage of conversations handed off to a human agent.
totalRevenuePipelinenumberEstimated revenue pipeline from qualified leads (USD).

Period Comparison

Pass compareWith=previous_period to include a comparison object:

curl "https://synaptiqintel.com/api/v1/analytics/overview?startDate=2026-03-01&endDate=2026-03-31&compareWith=previous_period" \
  -H "Authorization: Bearer sk_live_abc123def456ghi789jkl012mno345"

The response includes a comparison field:

{
  "comparison": {
    "period": {
      "startDate": "2026-01-30",
      "endDate": "2026-02-28"
    },
    "totalConversations": { "value": 3102, "change": 0.24 },
    "totalLeads": { "value": 498, "change": 0.23 },
    "qualifiedLeads": { "value": 221, "change": 0.31 },
    "conversionRate": { "value": 0.0712, "change": 0.055 }
  }
}

The change values are expressed as decimals (e.g., 0.24 = 24% increase).

Conversion Funnel

GET /v1/analytics/funnel

Returns stage-by-stage conversion funnel data showing how visitors move through the sales pipeline.

Query Parameters

ParameterTypeRequiredDescription
startDatestringNoISO 8601 date. Default: 30 days ago.
endDatestringNoISO 8601 date. Default: today.
channelstringNoFilter by channel: web_chat, api, whatsapp, slack.
sourcestringNoFilter by lead source: chat, api, import, form.

Request

curl "https://synaptiqintel.com/api/v1/analytics/funnel?startDate=2026-03-01&endDate=2026-03-31" \
  -H "Authorization: Bearer sk_live_abc123def456ghi789jkl012mno345"

Response

{
  "period": {
    "startDate": "2026-03-01",
    "endDate": "2026-03-31"
  },
  "stages": [
    {
      "name": "Visitors",
      "count": 18420,
      "conversionToNext": 0.209
    },
    {
      "name": "Engaged (Started Chat)",
      "count": 3847,
      "conversionToNext": 0.159
    },
    {
      "name": "Lead Captured",
      "count": 612,
      "conversionToNext": 0.472
    },
    {
      "name": "Qualified",
      "count": 289,
      "conversionToNext": 0.346
    },
    {
      "name": "Demo Booked",
      "count": 100,
      "conversionToNext": 0.620
    },
    {
      "name": "Converted",
      "count": 62,
      "conversionToNext": null
    }
  ],
  "overallConversion": 0.00337,
  "topDropoffStage": "Visitors -> Engaged (Started Chat)"
}

Stage Fields

FieldTypeDescription
namestringHuman-readable stage name.
countintegerNumber of visitors/leads at this stage.
conversionToNextnumberConversion rate to the next stage. null for the final stage.

Activity Feed

GET /v1/analytics/activity

Returns a chronological feed of notable events across your account: new leads, qualifications, handoffs, conversions, and high-intent signals.

Query Parameters

ParameterTypeRequiredDescription
startDatestringNoISO 8601 date. Default: 24 hours ago.
endDatestringNoISO 8601 date. Default: now.
typestringNoFilter by event type (see table below). Comma-separated.
leadIdstringNoFilter activities for a specific lead.
pageintegerNoPage number. Default: 1.
limitintegerNoResults per page. Max: 100. Default: 50.

Activity Event Types

TypeDescription
lead.createdA new lead was captured.
lead.qualifiedA lead's status changed to qualified.
lead.score_changedA lead's score increased or decreased significantly.
conversation.startedA new conversation was initiated.
conversation.handoffA conversation was handed off to a human agent.
conversion.completedA lead converted (closed-won).
intent.high_valueA high-value buying intent was detected.

Request

curl "https://synaptiqintel.com/api/v1/analytics/activity?type=lead.qualified,intent.high_value&limit=5" \
  -H "Authorization: Bearer sk_live_abc123def456ghi789jkl012mno345"

Response

{
  "data": [
    {
      "id": "evt_01HQ8AAA1BBB2CCC3DDD4EEE5F",
      "type": "intent.high_value",
      "leadId": "lead_01HQ3VXK9BWMN4F6T2P8R5GYSC",
      "conversationId": "conv_01HQ7ABC2DEF3GHI4JKL5MNO6P",
      "description": "High-value buying intent detected: visitor requested enterprise pricing for 50+ seats.",
      "metadata": {
        "intent": "enterprise_pricing",
        "confidence": 0.94,
        "estimatedDealSize": 45000
      },
      "occurredAt": "2026-04-05T11:42:00.000Z"
    },
    {
      "id": "evt_01HQ8FFF6GGG7HHH8III9JJJ0K",
      "type": "lead.qualified",
      "leadId": "lead_01HQ6JKL8MWPN3D5R7S9T1UVWX",
      "conversationId": "conv_01HQ7QRS8TUV9WXY0ZAB1CDE2F",
      "description": "Lead qualified based on conversation scoring: CTO at FinTech startup, budget confirmed.",
      "metadata": {
        "previousStatus": "new",
        "newStatus": "qualified",
        "scoreChange": { "from": 22, "to": 64 }
      },
      "occurredAt": "2026-04-05T10:48:00.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 5,
    "total": 23,
    "totalPages": 5,
    "hasMore": true
  }
}

Error Responses

Status CodeErrorDescription
400invalid_requestInvalid date format or query parameters.
401unauthorizedInvalid or missing API key.
422unprocessableDate range exceeds maximum of 365 days.

Was this page helpful?

PreviousConversations APINextWebhooks