Update a lead's details
update_leadUpdate a lead's profile fields — first name, last name, email, company, category, source, comments — and any account custom fields. Identify the lead by lead_id or phone_number. Only the fields you provide are changed. To change the lead's stage use update_stage; to manage tags use add_tag / remove_tag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | The lead's email address. | ||
| source | No | Where this lead came from. | |
| company | No | The lead's company name. | |
| lead_id | No | The id of the lead to update. Provide this or phone_number. | |
| category | No | The lead's category. | |
| comments | No | Freeform comments stored on the lead. | |
| last_name | No | The lead's last name. | |
| first_name | No | The lead's first name. | |
| phone_number | No | The lead's phone number to look up, ideally in E.164 format. Provide this or lead_id. | |
| custom_fields | No | Account custom field values to set, keyed by the field slug (call get_lead to discover the available slugs). Example: {"deal_size": "5000", "region": "West"}. Slugs not defined on the account are ignored and reported back. |