logo
LeadsUpdate lead
Leads

Update lead

Update lead fields. Custom fields are merged into existing custom fields (not replaced). Email cannot be changed after creation.

curl -X PATCH "https://api.sendkit.ai/v1/leads/example_string" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "jobTitle": "CRO",
  "tags": [
    "vip",
    "enterprise",
    "decision-maker"
  ],
  "customFields": {
    "revenue": "$50M",
    "lastContact": "2025-06-15"
  }
}'
{
  "success": true,
  "data": {
    "_id": "665d4e5f6a7b8c9d0e1f2a3b",
    "email": "john@acme.com",
    "firstName": "John",
    "lastName": "Doe",
    "companyName": "Acme Corp",
    "jobTitle": "CRO",
    "tags": [
      "vip",
      "enterprise",
      "decision-maker"
    ],
    "customFields": {
      "industry": "SaaS",
      "revenue": "$50M",
      "lastContact": "2025-06-15"
    },
    "createdAt": "2025-06-10T10:30:00.000Z",
    "updatedAt": "2025-06-20T09:00:00.000Z"
  }
}
PATCH
/v1/leads/{id}
PATCH
API Key (header: X-Api-Key)
X-Api-Keystring
Required

Platform API key (sk_user_...) or Workspace API key (sk_...)

Platform API key (sk_user_...) or Workspace API key (sk_...)
Bearer Token
Bearer Tokenstring
Required

API key as Bearer token

API key as Bearer token
Content-Typestring
Required

The media type of the request body

Options: application/json
Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-Api-Keystring
Required

API Key for authentication. Platform API key (sk_user_...) or Workspace API key (sk_...)

header
Authorizationstring
Required

Bearer token. API key as Bearer token

Path Parameters

idstring
Required

Resource ID

Responses

successboolean
dataobject