LeadDTO
CRM Lead information object. Returned by GET /v1/open-api/lead/{leadId}.
Lead ID
1001Lead name
New apartment buyerBalance amount
5000Currency ID
1Responsible user ID
101Responsible user full name
Alice JohnsonLead pipeline status ID
1Tags attached to lead.
["VIP","New"]fields object[]
Additional field values.
Field ID this value belongs to
1Simple value (as text)
VIPMultiple values (for multi-select fields).
["VIP","New"]Field value type enum.
Possible values: [STREET, DISTRICT, DEFAULT]
DEFAULTDEFAULTField type (lowercased, e.g. text, select)
selectWhich entity a field/value belongs to.
LED— the leadCONTACT— the contact
Possible values: [LED, CONTACT]
LEDGeo coordinate: longitude (for location fields)
69.2401Geo coordinate: latitude (for location fields)
41.2995Value for NUMBER fields. Populated instead of value.
1500.5Currency ID, present when the NUMBER field's format is CURRENCY.
24contacts object[]
Contacts attached to lead.
Contact ID (null when creating)
1001Contact name (required)
John Doefields object[]
Contact custom field values.
Field ID this value belongs to
1Simple value (as text)
VIPMultiple values (for multi-select fields).
["VIP","New"]Field value type enum.
Possible values: [STREET, DISTRICT, DEFAULT]
DEFAULTDEFAULTField type (lowercased, e.g. text, select)
selectWhich entity a field/value belongs to.
LED— the leadCONTACT— the contact
Possible values: [LED, CONTACT]
LEDGeo coordinate: longitude (for location fields)
69.2401Geo coordinate: latitude (for location fields)
41.2995Value for NUMBER fields. Populated instead of value.
1500.5Currency ID, present when the NUMBER field's format is CURRENCY.
24Contact type enum.
Possible values: [SIMPLE, TELEGRAM, INSTAGRAM, WEBSITE, FACEBOOK, OTHER, CALL_PBX, MARKETPLACE, GOOGLE_SHEETS, WEB_FORM, WAZZUP, AMO_CRM, TELEGRAM_BUSINESS]
SIMPLETELEGRAMAccount ID (if available)
acc123Username
johndoePhone numbers (required, non-empty).
Possible values: >= 1
["+998901234567"]Receiver ID (if available)
rec123Creation time (epoch seconds)
1672531200Last update time (epoch seconds)
1672704000Lead UUID value
550e8400-e29b-41d4-a716-446655440000attributions object[]
Channel / UTM attributions, in attachment order (earliest first).
Attribution ID
5001channel object
Channel a lead originated from.
Channel ID
12Channel a lead originated from. Serialized by name.
Possible values: [INSTAGRAM, FACEBOOK, FACEBOOK_FORM, TELEGRAM, TELEGRAM_BUSINESS, TELEGRAM_BOT, WHATSAPP, WABA, VK, VIBER, AVITO, WEBSITE, AMO_CRM, ONLINE_PBX, UTEL, SIPUNI, ASTERISK, MOI_ZVONKI, WEB_FORM, EMPLOYEE, UNKNOWN]
INSTAGRAMFree-text channel identifier
ig-promo-2026utmData object
UTM / tracking attribution data attached to a lead.
UTM source
instagramUTM medium
cpcUTM campaign
spring_saleUTM term
apartmentUTM content
banner_aFacebook click ID (fbclid)
IwAR0...Client IP address (Facebook CAPI)
203.0.113.5Client user agent (Facebook CAPI)
Mozilla/5.0 ...Facebook browser ID (_fbp cookie)
fb.1.1672531200.1234567890Time the attribution was attached (epoch seconds)
1672531200{
"id": 1001,
"name": "New apartment buyer",
"balance": 5000,
"currencyId": 1,
"responsibleById": 101,
"responsibleBy": "Alice Johnson",
"pipeStatusId": 1,
"tags": [
"VIP",
"New"
],
"fields": [
{
"id": 1,
"value": "VIP",
"valueList": [
"VIP",
"New"
],
"valueType": "DEFAULT",
"type": "select",
"infoType": "LED",
"longitude": 69.2401,
"latitude": 41.2995,
"number": 1500.5,
"currencyId": 24
}
],
"contacts": [
{
"id": 1001,
"name": "John Doe",
"fields": [
{
"id": 1,
"value": "VIP",
"valueList": [
"VIP",
"New"
],
"valueType": "DEFAULT",
"type": "select",
"infoType": "LED",
"longitude": 69.2401,
"latitude": 41.2995,
"number": 1500.5,
"currencyId": 24
}
],
"type": "TELEGRAM",
"accountId": "acc123",
"username": "johndoe",
"phones": [
"+998901234567"
],
"receiverId": "rec123"
}
],
"createdTimestamp": 1672531200,
"updatedTimestamp": 1672704000,
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"attributions": [
{
"id": 5001,
"channel": {
"id": 12,
"source": "INSTAGRAM",
"channelValue": "ig-promo-2026"
},
"utmData": {
"utmSource": "instagram",
"utmMedium": "cpc",
"utmCampaign": "spring_sale",
"utmTerm": "apartment",
"utmContent": "banner_a",
"fbcLid": "IwAR0...",
"fbClientIpAddress": "203.0.113.5",
"fbClientUserAgent": "Mozilla/5.0 ...",
"fbp": "fb.1.1672531200.1234567890"
},
"attachedTimestamp": 1672531200
}
]
}