delete https://{subdomain}.kommo.com/api/v4/leads/unsorted//decline
This method allows declining an incoming lead
Response parameters
Parameter | Data type | Description |
---|---|---|
uid | string | Incoming lead UID |
category | string | Incoming lead category: sip, mail, chats, forms |
pipeline_id | int | ID of the pipeline in which the incoming lead is located |
created_at | int | The time and date the incoming lead was created in the format of Unix Timestamp |
_embedded | object | Embedded entities data |
_embedded[contacts] | array | Data related to the contact of the incoming lead. |
_embedded[contacts][0] | object | Contact model |
_embedded[contacts][0][id] | int | Contact ID |
_embedded[companies] | array | Data related to the company of the incoming lead. |
_embedded[companies][0] | object | Company model |
_embedded[companies][0][id] | int | Company ID |
_embedded[leads] | array | Data related to the lead to which the incoming lead is connected . |
_embedded[leads][0] | object | Lead model |
_embedded[leads][0][id] | int | Lead ID |