On this page

PATCH/campaigns/:campaignId/leads/:leadId

Update CRM fields on a lead. 0 credits. Rate class: patch_lead. Body must include at least one of tag, excluded.

Request

PATCH /campaigns/search-xyz/leads/lead_abc
X-API-Key: sk_live_...
Content-Type: application/json
{
  "tag": "Interested",
  "excluded": false
}
FieldNotes
tagnull / "" clears; else one of the writable tags below
excludedboolean

Writable tag allowlist

Interested, Not interested, Wrong person, Meeting booked, Resolved

This is a smaller set than the GET ?tag= filter allowlist (which also includes Information request, Meeting request, To be defined).

Response

{
  "id": "lead_abc",
  "tag": "Interested",
  "excluded": false
}

Errors

Error codeWhen
validation_errorEmpty body / unknown fields / invalid tag
not_foundUnknown campaign or lead

MCP

Tool: update_lead.