Leads Object

A lead object contains the following fields -

AttributeTypeDescription
typestringvalue is 'contact'

This value is read only
idstringThe Intercom defined id representing the Lead

This value is read only
created_attimestampThe time the Lead was added to Intercom

This value is read only
updated_attimestampThe last time the Lead was updated

This value is read only
user_idstringAutomatically generated identifier for the Lead
emailstringThe email you have defined for the Lead
phonestringThe phone number you have defined for the lead
namestringThe name of the Lead
custom_attributesobjectThe custom attributes you have set on the Lead
last_request_attimestampThe time the Lead last recorded making a request
avatarobjectAn avatar object for the Lead
unsubscribed_from_emailsbooleanWhether the Lead is unsubscribed from emails
location_dataobjectA Location Object relating to the Lead

To update location_data use last_seen_ip which will be translated to the appropriate location_data
user_agent_datastringData about the last user agent the Lead was seen using

Update using last\_seen\_user\_agent
last_seen_ipnoAn ip address (e.g. "1.2.3.4") representing the last ip address the Lead visited your application from. (Used for updating location_data)
companieslistA list of companies for the Lead
social_profileslistA list of social profiles associated with the Lead

This value is read only
segmentslistA list of segments the Lead.
tagslistA list of tags associated with the Lead.

📘

Information on social profile, avatar and location objects can be found under the Users documentation.