POST
/
lead

Updating Lead Custom Attributes

To update attributes for a lead, include an attributes object in the request body. Each key in the attributes object represents an attribute ID, and its corresponding value is the new value for that attribute. provider a wrong value for an attribute will result in an error response.

Example:

{
  "attributes": {
    "attribute-id-1": "New Value 1",
    "attribute-id-2": 42,
    "attribute-id-3": true,
    "select-attribute-id": "option-id-1",
    "multiselect-attribute-id": ["option-id-2", "option-id-3"]
  }
}

Authorizations

X-API-KEY
string
headerrequired

Body

application/json
company
string | null
company_role
string | null
phone
first_name
string | null
linkedin_url
string | null
linkedin_company_url
string | null
facebook_username
string
telegram_username
string
whatsapp_username
string
youtube_username
string
instagram_username
string
twitter_name
string | null
city
string | null
last_name
string | null
email
string | null
is_company
boolean
default: false
avatar_url
string | null
website_url
string | null
lists
status
tags
owners
campaigns
contract_currency
enum<string>
Available options:
USD,
EUR,
JPY,
GBP,
AUD,
CAD,
CHF,
CNY,
HKD,
NZD
contract_value
id_list
string
attributes
object

Response

200 - application/json
id
string
required
email
string | null
required
company
string | null
required
phone
string | null
required
linkedin_url
string | null
required
linkedin_company_url
string | null
required
facebook_username
string | null
required
youtube_username
string | null
required
instagram_username
string | null
required
telegram_username
string | null
required
whatsapp_username
string | null
required
search_query
string | null
required
created_at
string
required
updated_at
string | null
required
first_name
string | null
required
icebreaker
string | null
required
last_name
string | null
required
website_url
string | null
required
timezone
string | null
required
city
string | null
required
company_role
string | null
required
twitter_name
string | null
required
avatar_url
string | null
required
icebreaker_2
string | null
required
icebreaker_3
string | null
required
icebreaker_4
string | null
required
email_bounce_score
integer | null
required
twitter_company_name
string | null
required
is_company
boolean
required
is_tracked
boolean | null
required
is_deleted
boolean
required
is_deleted_at
string | null
required
company_enrich
required
custom_fields
required
custom_fields_schema
required
order
integer
required
contract_value
integer | null
required
contract_currency
string | null
required
score
integer | null
required
id_linkedin_company
string | null
required
id_linkedin
string | null
required
id_space
string | null
required
id_twitter_company
string | null
required
id_twitter
string | null
required
usersId
string | null
required