ContactDTO
CRM lead contact information object, as returned when reading a lead (in contacts). When writing a contact in a create/update body, use ContactRequestDTO instead.
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)
rec123{
"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"
}