post https://{subdomain}.kommo.com/api/v4/leads/unsorted//link
This method allows linking an incoming lead to an existing lead.
Limitations
- The method is available for administrator users only
- The method is available for incoming leads of the “chats” type only
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
Response parameters
The method returns the information about the performed action.
Parameter | Data type | Description |
---|---|---|
uid | string | Incoming lead UID |
_embedded | object | Embedded entities data |
_embedded[leads] | array | Data related to the lead to which the incoming lead is being connected. |
_embedded[leads][0] | object | Lead model |
_embedded[leads][0][id] | int | Lead ID |
_embedded[contacts] | array | Data related to the contact to which the incoming lead is being connected. |
_embedded[contacts][0] | object | Contact model |
_embedded[contacts][0][id] | int | Contact ID |
_embedded[companies] | array | Data related to the company to which the incoming lead is being connected. |
_embedded[companies][0] | object | Company model |
_embedded[companies][0][id] | int | Company ID |