The leads object contains information such as their firstName, lastName, etc.
{
id: "00000000-0000-0000-0000-000000000000",
lastName: "Frey (Sample)",
leadOwner: "Gregg Mojica",
addresses: [
{
country: "United States",
street1: "4 B Blue Ridge Blvd",
state: "MI",
city: "Brighton",
addressType: "main"
}
],
phoneNumbers: [
{
phoneNumberType: "main",
phoneNumber: "555-555-5555"
},
{
phoneNumberType: "mobile",
phoneNumber: "555-555-5555"
}
],
leadTitle: "Mechanical Systems Engineer",
firstName: "Theola",
leadSource: "Cold Call",
remoteId: "0000000000000000000",
company: "Dal Tile Corporation",
emailAddresses: [
{
emailAddressType: "main",
emailAddress: "[email protected]"
}
],
remoteCreatedAt: "2023-11-19T17:00:17.000Z",
remoteUpdatedAt: "2023-11-19T17:00:17.000Z",
remoteDeleted: false,
createdAt: "2024-02-22T11:17:53.264Z",
updatedAt: "2024-02-22T13:54:03.445Z"
}
Properties
id
String
A string representing the unique identifier of the lead item.
remoteId
String
The ID of the object in the third-party application.
leadOwner
String
The name or identifier of the individual or team responsible for managing the lead.
leadSource
String
The origin or source where the lead was generated, such as 'Website', 'Event', or 'Referral'.
account
String
The name or identifier of the account with which the contact is associated.
leadTitle
String
The title or position of the lead within their organization.
company
String
The name of the company or organization that the lead is associated with.
firstName
String
The first name of the lead.
lastName
String
The last name or surname of the lead.
addresses
Object[]
An array of address objects related to the lead.
emailAddresses
Object[]
An array of email address objects associated with the lead.
phoneNumbers
Object[]
An array of phone number objects associated with the lead.
remoteCreatedAt
DateTime
The exact date and time when the record was first added or created in the third-party application.
remoteUpdatedAt
DateTime
The latest date and time when any modifications or updates were made to the record's details in the third-party application.
remoteDeleted
Boolean
Flag to indicate that the record has been deleted in the third-party application.
createdAt
DateTime
Date and time the record has been synced into the data cache.
updatedAt
DateTime
Date and time the record has been updated in the data cache.
Address Object
addressType
String
The type of the address (e.g., shipping, billing).
country
String
The country of the address.
city
String
The city of the address.
street1
String
The first line of the address.
street2
String
The second line of the address.
state
String
The state of the address.
countrySubdivision
String
The country subdivision of the address.
postalCode
String
The postal/zip code of the address
Phone Number Properties
phoneNumberType
String
The type of the phone number (e.g., primary, secondary).
phoneNumber
String
The phone number.
Email Address Properties
emailAddressType
String
The type of the email address (e.g., main, secondary).
emailAddress
String
The email address.