---
title: "Update lead"
method: PUT
path: "/api/v1/public/agents/{agent_id}/leads/{lead_id}"
tags: ["public"]
---

# Update lead

`PUT /api/v1/public/agents/{agent_id}/leads/{lead_id}`

## Request

- Base URL: `https://api.outcallerai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outcallerai.com/api/v1/public/agents/{agent_id}/leads/{lead_id}`
- Auth: none declared

Update the supported fields for an active lead.

## Path parameters

- `agent_id` string, required
- `lead_id` string, required

## Headers

- `Idempotency-Key` string, nullable

## Request body

- LeadUpdateRequest
  - `name` string, nullable
  - `email` string, nullable
  - `phone` string, nullable
  - `description` string, nullable

## Response `200`

Successful Response

- LeadResponse

## Other responses

- `422`: Validation Error

## Changes

- **2026-08-04** `f7903dc1bdbb`: 1 info
  - added the new optional `header` request parameter `Idempotency-Key`
- **2026-07-31** `7c9aff2501f3`: 4 breaking, 10 warning
  - removed the required property `createdAt` from the response with the `200` status
  - removed the required property `id` from the response with the `200` status
  - removed the required property `name` from the response with the `200` status
  - removed the required property `updatedAt` from the response with the `200` status
  - …10 more
- **2026-07-26** `e7248cb2f50b`: 1 breaking, 14 info
  - the response's body type changed from no type to `object` for status `200`
  - added the optional property `agentId` to the response with the `200` status
  - added the optional property `campaignId` to the response with the `200` status
  - added the optional property `customFields` to the response with the `200` status
  - …11 more

[Operation history](https://skmtc.dev/outcallerai/apis/fastapi/changes/api/v1/public/agents/:agent_id/leads/:lead_id/put.md)

---

[API](https://skmtc.dev/outcallerai/apis/fastapi.md) - [All operations](https://skmtc.dev/outcallerai/apis/fastapi/llms.txt) - [OpenAPI document](https://skmtc.dev/outcallerai/apis/fastapi/revisions/40736cf433b4?raw)
