Getting an incoming lead by its UID

This method allows getting a particular incoming lead data by its UID

Limitations
The method is available in accordance with the user’s rights.

Authorization type
OAuth 2.0 with Access Token/ Long-lived token

Data type header when the request is successful
Content-Type: application/hal+json

Data type header in case of an error
Content-Type: application/problem+json

An example of the request

In the following example, we will get a single incoming lead list.

https://devteam.kommo.com/api/v4/leads/unsorted/5af9dedb6f2c6a29eaac6ee37fc75ffbb66e139e4603bdd0e14e39d4b319

Response parameterss

ParameterData typeDescription
uidstringIncoming lead UID
source_uidstringIncoming lead source UID. Generated by the integration
source_namestringIncoming lead source name
categorystringIncoming lead category: sip, mail, chats, forms
pipeline_idintID of the pipeline in which the incoming lead is located
created_atintThe time and date the incoming lead was created in the format of Unix Timestamp
metadataobjectIncoming lead metadata. Each type has its own parameters.
account_idintAccount ID in which the incoming lead is located
_embeddedobjectEmbedded entities data
_embedded[contacts]arrayData related to the contact of the incoming lead. Always consists of one object
_embedded[contacts][0]objectContact model
_embedded[contacts][0][id]intContact ID
_embedded[companies]arrayData related to the company of the incoming lead. Always consists of one object
_embedded[companies][0]objectCompany model
_embedded[companies][0][id]intCompany ID
_embedded[leads]arrayData related to the lead to which the incoming lead is connected . Always consists of one object
_embedded[leads][0]objectLead model
_embedded[leads][0][id]intLead ID
Language
Credentials
OAuth2
URL
Click Try It! to start a request and see the response here!