LeadAttributionDTO
A single channel / UTM attribution attached to a lead.
idint64
Attribution ID
Example:
5001channel object
Channel a lead originated from.
idint64
Channel ID
Example:
12sourceLeadChannelSource
Channel 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]
Example:
INSTAGRAMchannelValuestring
Free-text channel identifier
Example:
ig-promo-2026utmData object
UTM / tracking attribution data attached to a lead.
utmSourcestring
UTM source
Example:
instagramutmMediumstring
UTM medium
Example:
cpcutmCampaignstring
UTM campaign
Example:
spring_saleutmTermstring
UTM term
Example:
apartmentutmContentstring
UTM content
Example:
banner_afbcLidstring
Facebook click ID (fbclid)
Example:
IwAR0...fbClientIpAddressstring
Client IP address (Facebook CAPI)
Example:
203.0.113.5fbClientUserAgentstring
Client user agent (Facebook CAPI)
Example:
Mozilla/5.0 ...fbpstring
Facebook browser ID (_fbp cookie)
Example:
fb.1.1672531200.1234567890attachedTimestampint64
Time the attribution was attached (epoch seconds)
Example:
1672531200LeadAttributionDTO
{
"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
}