---
title: "Update Lead"
method: PATCH
path: "/api/v1/leads/{lead_id}"
tags: ["leads"]
---

# Update Lead

`PATCH /api/v1/leads/{lead_id}`

## Request

- Base URL: `https://api.nudgelink.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nudgelink.co/api/v1/leads/{lead_id}`
- Auth: HTTP bearer

P1-8: edit a lead's display fields (name / title / company / location).
Only provided (non-null) fields are changed.

## Path parameters

- `lead_id` string, uuid, required

## Request body

- UpdateLeadRequest
  - `name` string, nullable
  - `title` string, nullable
  - `company` string, nullable
  - `location` string, nullable

## Response `200`

Successful Response

- LeadOut
  - `id` string, uuid, required
  - `name` string, required
  - `title` string, required
  - `company` string, required
  - `location` string, required
  - `linkedin_url` string, required
  - `relevance_score` integer, nullable, required
  - `relevance_reasoning` string, nullable, required
  - `status` 'new' | 'warming' | 'outreach' | 'replied' | 'converted' | 'rejected' | 'skipped', required
  - `content_brief` string, nullable, required
  - `email` string, nullable, required
  - `email_source` string, nullable, required
  - `source_keywords` string[], nullable, required
  - `created_at` string, date-time, required
  - `campaign_id` string, uuid, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/nudgelink/apis/nudgelink-api.md) · [All operations](https://skmtc.dev/nudgelink/apis/nudgelink-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nudgelink/apis/nudgelink-api/revisions/baa46e6db986?raw)
