1. CRM
Chronox AI API Referance
  • Get Started
    • Introduction
    • Authentication
    • Rate limiting
    • Errors
    • Pagination
    • Campaign
  • Account
    • Get User Details
      GET
    • Get Meta Integration
      GET
    • Get Integrated Channels
      GET
    • Get WABA Catalogs
      GET
  • WhatsApp Templates
    • Getting started
    • Templates
      • Create Whatsapp Template Guide
      • Get Whatsapp Templates
      • Get Whatsapp Template Details
      • Create Whatsapp Template
    • Lookups
      • Get Whatsapp Template Category
      • Get Whatsapp Languages
      • Get Whatsapp Template Type
      • Get Whatsapp Template Interactive Type
      • Get Whatsapp Template Header Type
      • Get Whatsapp Template Button Type
      • Get Whatsapp Template Dynamic Variable Type
  • Messaging
    • Getting started
    • Send Whatsapp Message
      POST
    • Send Whatsapp Template
      POST
    • Send Canned Response
      POST
  • Inbox
    • Get Inbox Data
      GET
    • Get Thread Details
      GET
    • Update Thread Archive
      PUT
    • Assign Thread Tags
      PUT
    • Assign Thread Status
      PUT
    • Update Thread Notes
      PUT
    • Get Canned Responses
      GET
    • Get Tags
      GET
    • Get Thread Status Types
      GET
  • Contact List
    • Getting started
    • Get Contact List
    • Create Contact List
    • Update Contact List
    • Update Contact List Status
    • Delete Contact List
  • Contacts
    • Getting started
    • Get Contacts
    • Create Contacts
    • Update Contact
    • Delete Contact
    • Delete Contact Copy
  • Tags and fields
    • Contact Tags
      • Get contact tags
      • Create contact tags
      • Update contact tag
      • Delete contact tag
    • Contact Fields
      • Get contact fields
      • Create contact fields
      • Update contact field
      • Delete contact field
  • Campaign
    • Getting Started
    • Campaign APIs
      • Create campaign
      • Get campaign
      • Update campaign
      • Delete campaign
      • Run campaign
      • Pause campaign
      • Resume campaign
      • Archive campaign
      • Get campaign Stats
    • Lookup
      • Get Statuses
      • Get campaign execution statuses
      • Get campaign contact filter types
      • Get campaign message types
      • Get contact field types
      • Get template variable types
      • Get country codes
  • Whatsapp Flow
    • Get Whatsapp flows
  • Tickets
    • Getting started
    • Get Tickets
    • Create Ticket
    • Update Ticket
    • Get Ticket Statuses
    • Get Agents
  • Organization Teams
    • Get Organization Teams
  • Template Library
    • Get Template Library
    • Get Template Drafts
  • CRM
    • Import leads (single or bulk)
      POST
    • List leads
      GET
    • Get lead detail
      GET
  • Schemas
    • Thread Execution Data
    • LeadImportField
    • LeadImportContact
    • Single lead
    • LeadImportBulkLead
    • Bulk (leads[])
    • LeadImportWarning
    • Single result
    • Bulk result
    • ApiError
    • ErrorEnvelope
    • Lead detail
    • Lead list row
    • Lead list
  1. CRM

List leads

GET
/crm-lead
Leads of the API key owner's organization, newest first (by timestamp, then lead_id), one page at a time.
Filters (all optional, combined with AND)
lead_status_id, lead_source_type_id, lead_origin_type_id: UUIDs (not case-sensitive). Get the ids from the lead_status, lead_source_type and lead_origin_type objects in lead responses.
agent_user_assignment_id: leads currently assigned to that agent.
contact_id: leads linked to that Master Contact List contact.
search: case-insensitive contains match on any lead field value or a linked contact's phone. Trimmed and cut to 100 characters; % and _ are matched literally.
An empty value is the same as not sending the filter. A malformed id (not a UUID / not a positive integer) → 9002.
Pagination
limit 1–500, default 50 (out-of-range values are clamped). offset ≥ 0, default 0.
total_count is the number of leads matching the filters, across all pages. Next page: offset += limit while offset < total_count.
Row shape is lighter than GET /crm-lead/detail: field values without type info, contacts as id + phone, agents as user_assignment_ids. Call /crm-lead/detail for the full lead.
Access
The route crm-lead GET must be in api_allowed_routes (else 9020); the user's role needs the crm-lead.read permission (else -403).
Errors
CodeMeaning
9002A filter id is malformed
9647CRM is not enabled for the organization
9028Database error
9020Route not allowed for API keys (HTTP 403)
9243Invalid or expired API key (HTTP 401)
-403Role lacks crm-lead.read (HTTP 403)
9999Rate limit exceeded (HTTP 429)

Request

Query Params

Header Params

Responses

🟢200
application/json
Application envelope. data.leads is the page, data.total_count the number of matching leads. Errors also return HTTP 200 with status: false.
Bodyapplication/json

🟠401
🟠403
🟠429
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.chronox.ai/api/crm-lead?limit=50&offset=0&search=ravi&lead_status_id=undefined&lead_source_type_id=undefined&lead_origin_type_id=undefined&agent_user_assignment_id=undefined&contact_id=undefined' \
--header 'Authorization: {{Authorization}}'
Response Response Example
200 - One page of leads
{
    "status": true,
    "data": {
        "leads": [
            {
                "lead_id": "3f6c2a8e-1b4d-4c1e-9a7b-2d5e8f0a1c34",
                "organization_id": 42,
                "created_by_user_assignment_id": 101,
                "timestamp": "2026-10-23T05:00:00.000Z",
                "created_at_timestamp": "2026-10-23T05:00:00.000Z",
                "lead_source_type_id": "b1e2c3d4-0000-4000-8000-000000000001",
                "lead_source_type_name": "API",
                "lead_origin_type_id": "d4e5f6a7-0000-4000-8000-000000000003",
                "lead_origin_type_name": "API",
                "lead_status_id": "c2d3e4f5-0000-4000-8000-000000000002",
                "lead_status_name": "New",
                "lead_status_color": "#2F80ED",
                "fields": [
                    {
                        "lead_field_id": "d3e4f5a6-0000-4000-8000-000000000003",
                        "lead_field_name": "Name",
                        "value": "Ravi Patel"
                    },
                    {
                        "lead_field_id": "e4f5a6b7-0000-4000-8000-000000000004",
                        "lead_field_name": "Email",
                        "value": "ravi.patel@example.com"
                    }
                ],
                "contacts": [
                    {
                        "contact_id": 5678,
                        "phone": "919876543210"
                    }
                ],
                "agents": [
                    205
                ]
            }
        ],
        "total_count": 1
    }
}
Modified at 2026-11-03 05:43:30
Previous
Import leads (single or bulk)
Next
Get lead detail
Built with