> 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.

# Update Lead

PUT https://api.signalcore.ai/api/v1/leads/{lead_id}
Content-Type: application/json

Update an existing lead. All fields are optional.

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

## 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

### Path parameters

- `lead_id` (string, required)

### Body (application/json)

This endpoint expects a LeadCreate.

- `contact` (ContactInfo, optional) — Lead contact information
- `source` (enum, optional, default: API)
  - Allowed values: `API`, `LIST`, `PHONECALL`, `SMS`, `LINKEDIN`, `WHATSAPP`, `INSTAGRAM`, `OUTLOOK`, `GOOGLE_OAUTH`
- `meta` (map from string to any, optional) — Custom metadata fields
- `pipeline_id` (string, optional) — Assign lead to a pipeline
- `list_id` (string, optional) — Assign lead to a list

## Response

### 200

Lead updated

- `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)

## Errors

### 404 Not Found Error

Lead not found

- `any`

## Types

### 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
{
  "meta": {
    "last_contacted": "2026-01-30",
    "notes": "Interested in enterprise tier"
  },
  "pipeline_id": "pipe_abc123"
}
```

**Response**

```json
{
  "id": "lead_xyz789",
  "business_id": "biz_456def",
  "contact": {
    "name": {
      "first": "John",
      "last": "Smith"
    },
    "email": "john.smith@example.com",
    "number": "+15551234567",
    "timezone": "America/New_York"
  },
  "source": "API",
  "meta": {
    "company": "Acme Corp",
    "industry": "Technology",
    "employees": 50
  },
  "data": {
    "objective_met": false,
    "history_summary": "No history summary yet",
    "lead_score": 25,
    "can_followup": true
  },
  "pipeline_id": "pipe_abc123",
  "pipeline_stage": {
    "current_stage": "stage_02",
    "current_stage_name": "Contacted",
    "entered_at": "2024-01-15T09:30:00Z"
  },
  "created_at": "2024-01-15T09:30:00Z"
}
```

**SDK Code**

```python
import requests

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

payload = {
    "meta": {
        "last_contacted": "2026-01-30",
        "notes": "Interested in enterprise tier"
    },
    "pipeline_id": "pipe_abc123"
}
headers = {
    "X-API-Key": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript
const url = 'https://api.signalcore.ai/api/v1/leads/lead_id';
const options = {
  method: 'PUT',
  headers: {'X-API-Key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"meta":{"last_contacted":"2026-01-30","notes":"Interested in enterprise tier"},"pipeline_id":"pipe_abc123"}'
};

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/lead_id"

	payload := strings.NewReader("{\n  \"meta\": {\n    \"last_contacted\": \"2026-01-30\",\n    \"notes\": \"Interested in enterprise tier\"\n  },\n  \"pipeline_id\": \"pipe_abc123\"\n}")

	req, _ := http.NewRequest("PUT", 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/lead_id")

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

request = Net::HTTP::Put.new(url)
request["X-API-Key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"meta\": {\n    \"last_contacted\": \"2026-01-30\",\n    \"notes\": \"Interested in enterprise tier\"\n  },\n  \"pipeline_id\": \"pipe_abc123\"\n}"

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.put("https://api.signalcore.ai/api/v1/leads/lead_id")
  .header("X-API-Key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"meta\": {\n    \"last_contacted\": \"2026-01-30\",\n    \"notes\": \"Interested in enterprise tier\"\n  },\n  \"pipeline_id\": \"pipe_abc123\"\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('PUT', 'https://api.signalcore.ai/api/v1/leads/lead_id', [
  'body' => '{
  "meta": {
    "last_contacted": "2026-01-30",
    "notes": "Interested in enterprise tier"
  },
  "pipeline_id": "pipe_abc123"
}',
  '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/lead_id");
var request = new RestRequest(Method.PUT);
request.AddHeader("X-API-Key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"meta\": {\n    \"last_contacted\": \"2026-01-30\",\n    \"notes\": \"Interested in enterprise tier\"\n  },\n  \"pipeline_id\": \"pipe_abc123\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "X-API-Key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "meta": [
    "last_contacted": "2026-01-30",
    "notes": "Interested in enterprise tier"
  ],
  "pipeline_id": "pipe_abc123"
] as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://api.signalcore.ai/api/v1/leads/lead_id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PUT"
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()
```