/leads/{id}

Returns a Lead object with the given id.

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Path parameters

idstringRequiredformat: "uuid"

Headers

X-Account-TokenstringRequired
Token identifying the end user.

Query parameters

expandenumOptional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
include_remote_databooleanOptional

Whether to include the original data Merge fetched from the third-party to produce these models.

include_remote_fieldsbooleanOptional
Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
include_shell_databooleanOptional

Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).

Response

idstring or nullRead-onlyformat: "uuid"
remote_idstring or null

The third-party API ID of the matching object.

created_atdatetime or nullRead-only
The datetime that this object was created by Merge.
modified_atdatetime or nullRead-only
The datetime that this object was modified by Merge.
ownerstring or nullformat: "uuid"
The lead's owner.
lead_sourcestring or null
The lead's source.
titlestring or null
The lead's title.
companystring or null
The lead's company.
first_namestring or null
The lead's first name.
last_namestring or null
The lead's last name.
addresseslist of objects or nullRead-only
email_addresseslist of objects or nullRead-only
phone_numberslist of objects or nullRead-only
remote_updated_atdatetime or null
When the third party's lead was updated.
remote_created_atdatetime or null
When the third party's lead was created.
converted_datedatetime or null
When the lead was converted.
converted_contactstring or nullformat: "uuid"
The contact of the converted lead.
converted_accountstring or nullformat: "uuid"
The account of the converted lead.
statusenum or null
The lead's status. * `OPEN` - OPEN * `CLOSED` - CLOSED * `UNQUALIFIED` - UNQUALIFIED * `QUALIFIED` - QUALIFIED
Allowed values:
remote_was_deletedboolean or nullRead-only
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
field_mappingsobject or nullRead-only
remote_datalist of objects or nullRead-only
remote_fieldslist of objects or nullRead-only
<MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA+1abVPiSBD+K9Z8pICcsrgnVVdXLHCr3hE9Zb3ztqxUM2nCyCQT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