Loading...
The Get Leads API allows you to retrieve leads that are talking to your AI agent. You can filter leads by status and time period, making it easy to integrate with your CRM or other systems.
https://service.tailortalk.ai/api/v1/get_leads
| Key | Value |
|---|---|
| Authorization | Agent <token> |
You can find agent_token in Manage Agent page.

| Parameter | Required | Description |
|---|---|---|
| start_after | ❌ | ISO 8601 timestamp - Get leads who messaged before this date (used for pagination) |
| lead_status | ❌ | Filter by lead status (e.g., "cold", "warm", "hot") |
| limit | ❌ | Number of leads to retrieve (max 100) |
{
"start_after": "2026-08-03T17:30:05+00:00",
"lead_status": "cold",
"limit": 2
}
To paginate through leads, use the last_message_time from the last lead in the previous response as start_after in the next request:
{
"start_after": "2025-11-08T05:39:17+00:00",
"limit": 50
}
This will fetch the next 50 leads who messaged before 2025-11-08T05:39:17+00:00.
{
"limit": 50
}
{
"lead_status": "hot",
"limit": 100
}
The API returns a JSON object with lead information:
{
"data": {
"leads": [
{
"lead_name": "shivajbd@gmail.com",
"lead_contact": "91********",
"lead_status": "cold",
"last_message_time": "2025-11-08T05:39:17+00:00",
"joined": "2025-11-08T05:38:38+00:00",
"total_followups": 0,
"integration": "assistant",
"id": "zrpxkxxu_assistant_shivajbdgmailcom"
},
{
"lead_name": "akshatofficial007@gmail.com",
"lead_contact": "91********",
"lead_status": "warm",
"last_message_time": "2025-10-23T10:26:29+00:00",
"joined": "2025-10-23T10:26:29+00:00",
"total_followups": 0,
"integration": "assistant",
"id": "zrpxkxxu_assistant_akshatofficial007gmailcom"
}
],
"count": 2
},
"success": true
}
last_message_time from the last lead in the response as start_after in your next request to fetch older leads2025-11-08T05:39:17+00:00)