v1

latestOpenAPI 3.0.12026-07-22120163333.7 KB
Sales Agents V2

Query working leads (paginated)

Retrieves a paginated list of leads currently being followed up by AI Sales Agent. Supports filtering by AI stage (HIGH_PRIORITY, AI_PROSPECTING, AI_MONITORING). Returns lead basic info with AI stage, task counts, and timestamps.

get/v2.0/working-leads

Query parameters

aiStagestring

AI follow-up stage filter (HIGH_PRIORITY, AI_PROSPECTING, AI_MONITORING)

Example:AI_PROSPECTING

AI follow-up stage filter (HIGH_PRIORITY, AI_PROSPECTING, AI_MONITORING)

limitstring

Page size (max 100)

Page size (max 100)

offsetstring

Start index of the responded leads

Start index of the responded leads

sortstring

Sort field (Default, CreateTime, UpdateTime)

Example:UpdateTime

Sort field (Default, CreateTime, UpdateTime)

descstring

Descending sort (true) or ascending sort (false)

Descending sort (true) or ascending sort (false)

Headers

Authorizationstring required

Bearer [access_token]

Response

Working leads retrieved successfully

Example response

{
  "workingLeads": [
    {
      "leadId": 12345,
      "firstName": "Jane",
      "lastName": "Smith",
      "email": "jane.smith@example.com",
      "phone": "+1234567890",
      "createdAt": "2026-02-20T10:00:00Z"
    }
  ],
  "metadata": {
    "total": 150,
    "count": 20,
    "limit": 20
  }
}