> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.signalcore.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.signalcore.ai/_mcp/server.

# List Leads

GET https://api.signalcore.ai/api/v1/leads

Retrieve leads with optional filtering and search.

Reference: https://docs.signalcore.ai/api-reference/leads/list-leads

## Authentication

- `X-API-Key` header (required) — Your API key from [Dashboard → Settings → API Keys](https://dashboard.signalcore.ai/settings)

## Servers

- `https://api.signalcore.ai/api/v1` (Producción, default)
- `https://staging.api.signalcore.ai/api/v1` (Staging)

## Request

### Query parameters

- `skip` (integer, optional, default: 0) — Pagination offset
- `limit` (integer, optional, default: 100) — Results per page
- `search` (string, optional) — Search in name, email, and phone
- `source` (string, optional) — Filter by lead source (API, LIST, SMS, etc.)
- `email` (string, optional) — Filter by exact email address
- `phone` (string, optional) — Filter by phone number
- `objective_met` (boolean, optional) — Filter by objective completion status
- `agent_id` (string, optional) — Filter by handling agent (proactive_agent_id or handling_status agent_id)
- `lead_score_range` (enum, optional) — Filter by score range (hot: 70-100, warm: 30-69, cold: 10-29)
  - Allowed values: `hot`, `warm`, `cold`

## Response

### 200

Paginated list of leads

- `items` (list of Lead, optional)
- `total` (integer, optional) — Total matching leads

## Types

### Lead

A lead (contact) in your system

- `id` (string, optional) — Unique lead identifier
- `business_id` (string, optional) — Business this lead belongs to
- `contact` (ContactInfo, optional) — Lead contact information
- `source` (enum, optional) — How this lead was created
  - Allowed values: `API`, `LIST`, `PHONECALL`, `SMS`, `LINKEDIN`, `WHATSAPP`, `INSTAGRAM`, `OUTLOOK`, `GOOGLE_OAUTH`
- `meta` (map from string to any, optional) — Custom metadata fields. Store any additional data about the lead.
- `data` (LeadData, optional) — Lead status and scoring data
- `pipeline_id` (string, optional) — Pipeline this lead is assigned to
- `pipeline_stage` (LeadPipelineStage, optional) — Current pipeline stage information
- `created_at` (datetime, optional)

### ContactInfo

Lead contact information

- `name` (ContactInfoName, optional)
- `email` (string, optional) — Email address (must be unique within your business)
- `number` (string, optional) — Phone number in international format (+ followed by digits, 8-16 characters)
- `timezone` (string, optional) — Lead's timezone in IANA format

### LeadData

Lead status and scoring data

- `objective_met` (boolean, optional, default: false) — Whether the agent's objective has been achieved for this lead
- `history_summary` (string, optional, default: No history summary yet) — AI-generated summary of conversation history
- `lead_score` (integer, optional) — Lead quality score (0-100). 70-100 = hot, 30-69 = warm, 10-29 = cold
- `can_followup` (boolean, optional) — Whether proactive follow-up is appropriate for this lead

### LeadPipelineStage

Current pipeline stage information

- `current_stage` (string, optional)
- `current_stage_name` (string, optional)
- `entered_at` (datetime, optional)

### ContactInfoName

- `first` (string, optional) — First name
- `last` (string, optional) — Last name

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "items": [
    {
      "id": "lead_9f8b7c6d5e4a3b2c1d0e",
      "business_id": "biz_12345abcde",
      "contact": {
        "name": {
          "first": "Emily",
          "last": "Johnson"
        },
        "email": "emily.johnson@example.com",
        "number": "+14155552671",
        "timezone": "America/Los_Angeles"
      },
      "source": "SMS",
      "meta": {
        "company": "BrightTech Solutions",
        "industry": "Software Development",
        "employees": 120
      },
      "data": {
        "objective_met": true,
        "history_summary": "Discussed product features and pricing; interested in premium plan.",
        "lead_score": 85,
        "can_followup": true
      },
      "pipeline_id": "pipeline_789xyz",
      "pipeline_stage": {
        "current_stage": "negotiation",
        "current_stage_name": "Negotiation Phase",
        "entered_at": "2024-04-10T14:45:00Z"
      },
      "created_at": "2024-04-01T10:15:00Z"
    }
  ],
  "total": 1
}
```

**SDK Code**

```python
import requests

url = "https://api.signalcore.ai/api/v1/leads"

payload = {}
headers = {
    "X-API-Key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.get(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.signalcore.ai/api/v1/leads';
const options = {
  method: 'GET',
  headers: {'X-API-Key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.signalcore.ai/api/v1/leads"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("GET", url, payload)

	req.Header.Add("X-API-Key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.signalcore.ai/api/v1/leads")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.signalcore.ai/api/v1/leads")
  .header("X-API-Key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.signalcore.ai/api/v1/leads', [
  'body' => '{}',
  'headers' => [
    'Content-Type' => 'application/json',
    'X-API-Key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.signalcore.ai/api/v1/leads");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-Key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "X-API-Key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.signalcore.ai/api/v1/leads")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```