Skip to main content
leads

Update /leads/{uuid}

Update a lead by UUID (PATCH). Only sent fields are updated. Returns record with the detail projection.

PATCH
/leads/{uuid}
Authorizationstringheaderrequired

API key (Bearer token) created in Setup → API & MCP.

uuidstringrequired

Body

application/json
citystring

City.

companystring

Company name. Required unless name (the contact person) is provided.

company_codestring

Company registration code.

countrystring

Country UUID.

custom_fieldsobject[]

Custom field values by slug.

descriptionstring

Description/notes.

emailstring

Email address.

is_newsletter_subscribestring

Newsletter subscription consent. Accepts 1/0 or true/false. To disable on update send 0 (a JSON false is treated as "not provided").

last_contactstring

Last contact date (Y-m-d or Y-m-d H:i:s). Send today's date to mark the lead as contacted today.

lead_categoriesstring[]

Lead category UUIDs or code_name values.

lead_typesstring[]

Lead type UUIDs or code_name values.

namestring

Contact person name. Required unless company is provided.

organizationstring

Organization UUID.

phonestring

Phone number.

responsiblestring[]

Responsible staff UUIDs.

sourcestring

Lead source UUID, code_name, or numeric ID.

statestring

State/region.

statusstring

Lead status UUID, code_name, or numeric ID.

streetstring

Street address.

titlestring

Contact title / position.

vat_codestring

VAT code.

websitestring

Website URL.

zipstring

ZIP/postal code.

Response

application/json

Success

recordobject

Fields enabled for this documentation instance (projection enabled: feature, option, subdomain, closures) plus account-level form field visibility. Role- and user-level field overrides are not applied here, so an API key whose staff user has such overrides may receive fewer fields. A disabled field is omitted from the response object entirely; a present key with a null value means the record simply has no value.