CRM lead model.
| Name | Type | Description |
|---|---|---|
| amount | Decimal | Lead amount. |
| chat_id | String | UUID of the chat linked to the lead. Maximum length is 36 characters. |
| client | Client | Embedded client object. |
| client_id | Int64 | Client ID. |
| converted_deal_id | Int64 | ID of the deal created from this lead. |
| created_user_id | Int64 | ID of the user who created the record. |
| description | String | Lead description. |
| description_mentions | Array of CommonMention | User mentions in description. Returned when include_mentions is true. |
| end_date | Int64 | Processing end date as Unix time in seconds. |
| fields | Array of FieldValue | Custom field values. |
| id | Int64 | Lead ID. |
| last_update | Int64 | Last update date as Unix time in seconds. |
| participant_user_ids | Array of Int64 | Lead participant user IDs. |
| pipeline_id | Int64 | Pipeline ID. |
| repeat_of_lead_id | Int64 | Source lead ID when this lead is a repeat. |
| responsible_user_id | Int64 | Responsible user ID. |
| stage_id | Int64 | Current stage ID. |
| start_date | Int64 | Processing start date as Unix time in seconds. |
| ticket_id | Int64 | Source ticket ID used as an informational reference. |
| title | String | Lead title. Maximum length is 300 characters. |