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

Leads API

Create, retrieve, update, and search leads captured by Synaptiq's AI sales agent.

Leads API

The Leads API gives you full control over the leads that Synaptiq captures from AI-powered conversations. Create leads from external sources, enrich existing records, search across your pipeline, and sync data with your CRM.

List Leads

GET /v1/leads

Retrieve a paginated list of leads with optional filtering and sorting.

Query Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number. Default: 1.
limitintegerNoResults per page. Min: 1, Max: 100. Default: 25.
statusstringNoFilter by status: new, qualified, contacted, converted, lost.
sourcestringNoFilter by source: chat, api, import, form.
sortBystringNoSort field: createdAt, updatedAt, score. Default: createdAt.
sortOrderstringNoSort direction: asc or desc. Default: desc.
createdAfterstringNoISO 8601 date. Return leads created after this date.
createdBeforestringNoISO 8601 date. Return leads created before this date.

Request

curl "https://synaptiqintel.com/api/v1/leads?status=qualified&limit=10&sortBy=score&sortOrder=desc" \
  -H "Authorization: Bearer sk_live_abc123def456ghi789jkl012mno345"

Response

{
  "data": [
    {
      "id": "lead_01HQ3VXK9BWMN4F6T2P8R5GYSC",
      "email": "sarah.chen@acmecorp.com",
      "name": "Sarah Chen",
      "company": "Acme Corp",
      "title": "VP of Sales",
      "phone": "+1-555-0142",
      "status": "qualified",
      "score": 87,
      "source": "chat",
      "tags": ["enterprise", "demo-requested"],
      "customFields": {
        "industry": "SaaS",
        "teamSize": "50-100"
      },
      "firstSeenAt": "2026-04-01T09:15:00.000Z",
      "lastActiveAt": "2026-04-05T11:42:00.000Z",
      "createdAt": "2026-04-01T09:15:00.000Z",
      "updatedAt": "2026-04-05T11:42:00.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 10,
    "total": 48,
    "totalPages": 5,
    "hasMore": true
  }
}

Get a Lead

GET /v1/leads/{id}

Retrieve a single lead by its ID, including full conversation history summary and activity timeline.

Request

curl https://synaptiqintel.com/api/v1/leads/lead_01HQ3VXK9BWMN4F6T2P8R5GYSC \
  -H "Authorization: Bearer sk_live_abc123def456ghi789jkl012mno345"

Response

{
  "id": "lead_01HQ3VXK9BWMN4F6T2P8R5GYSC",
  "email": "sarah.chen@acmecorp.com",
  "name": "Sarah Chen",
  "company": "Acme Corp",
  "title": "VP of Sales",
  "phone": "+1-555-0142",
  "status": "qualified",
  "score": 87,
  "source": "chat",
  "tags": ["enterprise", "demo-requested"],
  "customFields": {
    "industry": "SaaS",
    "teamSize": "50-100"
  },
  "conversationCount": 3,
  "lastIntent": "demo_request",
  "assignedTo": "user_01HQ3VXK9BWMN4F6T2P8R5GYSD",
  "firstSeenAt": "2026-04-01T09:15:00.000Z",
  "lastActiveAt": "2026-04-05T11:42:00.000Z",
  "createdAt": "2026-04-01T09:15:00.000Z",
  "updatedAt": "2026-04-05T11:42:00.000Z"
}

Create a Lead

POST /v1/leads

Create a new lead manually. Useful for importing leads from external sources or forms.

Request Body

ParameterTypeRequiredDescription
emailstringYesThe lead's email address. Must be unique.
namestringNoFull name of the lead.
companystringNoCompany or organization name.
titlestringNoJob title.
phonestringNoPhone number in E.164 format.
statusstringNoInitial status. Default: new.
sourcestringNoLead source. Default: api.
tagsstring[]NoArray of tags for categorization.
customFieldsobjectNoKey-value pairs for custom data.
assignedTostringNoUser ID of the assigned sales rep.

Request

curl -X POST https://synaptiqintel.com/api/v1/leads \
  -H "Authorization: Bearer sk_live_abc123def456ghi789jkl012mno345" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "james.rodriguez@techstart.io",
    "name": "James Rodriguez",
    "company": "TechStart",
    "title": "CTO",
    "phone": "+1-555-0198",
    "status": "new",
    "source": "api",
    "tags": ["inbound", "startup"],
    "customFields": {
      "industry": "FinTech",
      "teamSize": "10-25",
      "budget": "$5k-$10k/mo"
    }
  }'

Response (201 Created)

{
  "id": "lead_01HQ6JKL8MWPN3D5R7S9T1UVWX",
  "email": "james.rodriguez@techstart.io",
  "name": "James Rodriguez",
  "company": "TechStart",
  "title": "CTO",
  "phone": "+1-555-0198",
  "status": "new",
  "score": 0,
  "source": "api",
  "tags": ["inbound", "startup"],
  "customFields": {
    "industry": "FinTech",
    "teamSize": "10-25",
    "budget": "$5k-$10k/mo"
  },
  "firstSeenAt": "2026-04-05T15:08:42.000Z",
  "lastActiveAt": "2026-04-05T15:08:42.000Z",
  "createdAt": "2026-04-05T15:08:42.000Z",
  "updatedAt": "2026-04-05T15:08:42.000Z"
}

Update a Lead

PATCH /v1/leads/{id}

Update one or more fields on an existing lead. Only the fields you include in the request body will be modified.

Request

curl -X PATCH https://synaptiqintel.com/api/v1/leads/lead_01HQ6JKL8MWPN3D5R7S9T1UVWX \
  -H "Authorization: Bearer sk_live_abc123def456ghi789jkl012mno345" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "qualified",
    "tags": ["inbound", "startup", "hot-lead"],
    "customFields": {
      "industry": "FinTech",
      "teamSize": "10-25",
      "budget": "$5k-$10k/mo",
      "nextStep": "Schedule demo"
    }
  }'

Response (200 OK)

{
  "id": "lead_01HQ6JKL8MWPN3D5R7S9T1UVWX",
  "email": "james.rodriguez@techstart.io",
  "name": "James Rodriguez",
  "company": "TechStart",
  "title": "CTO",
  "phone": "+1-555-0198",
  "status": "qualified",
  "score": 34,
  "source": "api",
  "tags": ["inbound", "startup", "hot-lead"],
  "customFields": {
    "industry": "FinTech",
    "teamSize": "10-25",
    "budget": "$5k-$10k/mo",
    "nextStep": "Schedule demo"
  },
  "firstSeenAt": "2026-04-05T15:08:42.000Z",
  "lastActiveAt": "2026-04-05T15:22:10.000Z",
  "createdAt": "2026-04-05T15:08:42.000Z",
  "updatedAt": "2026-04-05T15:22:10.000Z"
}

Search Leads

GET /v1/leads/search

Full-text search across lead names, emails, companies, and custom fields.

Query Parameters

ParameterTypeRequiredDescription
qstringYesSearch query. Min 2 characters.
pageintegerNoPage number. Default: 1.
limitintegerNoResults per page. Max: 100. Default: 25.
statusstringNoFilter results by lead status.

Request

curl "https://synaptiqintel.com/api/v1/leads/search?q=acme&status=qualified" \
  -H "Authorization: Bearer sk_live_abc123def456ghi789jkl012mno345"

Response

{
  "data": [
    {
      "id": "lead_01HQ3VXK9BWMN4F6T2P8R5GYSC",
      "email": "sarah.chen@acmecorp.com",
      "name": "Sarah Chen",
      "company": "Acme Corp",
      "status": "qualified",
      "score": 87,
      "matchField": "company",
      "lastActiveAt": "2026-04-05T11:42:00.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 25,
    "total": 1,
    "totalPages": 1,
    "hasMore": false
  }
}

Error Responses

Status CodeErrorDescription
400invalid_requestValidation error. Check the details array.
401unauthorizedInvalid or missing API key.
404not_foundLead with the given ID does not exist.
409conflictA lead with this email already exists.
422unprocessableThe request body is valid JSON but semantically wrong.
{
  "error": {
    "code": "conflict",
    "message": "A lead with email 'sarah.chen@acmecorp.com' already exists.",
    "existingLeadId": "lead_01HQ3VXK9BWMN4F6T2P8R5GYSC",
    "doc_url": "https://synaptiqintel.com/docs/api-reference/leads-api"
  }
}

Was this page helpful?

PreviousChat APINextConversations API