API Documentation
Lead Channel ¶
Overview
A LeadChannel represents an endpoint through which leads are captured and routed
| Field | Type | Association | Description |
|---|---|---|---|
| id | uuid | Internal identifier of the lead channel | |
| brand | uuid | Brand to which this lead channel belongs | |
| created_at | number | Timestamp of when this lead channel was created | |
| updated_at | number | Timestamp of when this lead channel was last updated | |
| deleted_at | number | Timestamp of when this lead channel was deleted (if applicable) | |
| capture_number | number | Number of leads captured by this channel so far | |
| last_capture_date | number | Timestamp of the most recent lead captured | |
| mls | string[] | List of code names of relevant MLS to search for listings mentioned by incoming leads | |
| is_default | boolean | Whether this lead channel is the default lead channel for the brand |
Get Lead Channel of brand ¶
Get Lead Channel of brandGET/brands/:brand/leads/channels
brand (uuid) ID of the brand
Example URI
GET /brands/:brand/leads/channels
URI Parameters
- brand
string(required) Example: 062fec8a-c481-4b5f-a245-c573b195329f
Response
200Body
{
"code": "OK",
"data": [
{
"id": "ce62e15a-21aa-481d-8922-e1c4bd6ac8af",
"name": "Default Route",
"brand": "062fec8a-c481-4b5f-a245-c573b195329f",
"capture_number": 0,
"mls": null,
"is_default": true,
"type": "lead_channel",
"created_at": 1774173477.397532,
"updated_at": 1774173477.397533,
"deleted_at": null,
"last_capture_date": null,
"rules_count": "1",
"title": null
},
{
"id": "4c6da944-0b27-4b4d-a42b-13a94d5e1688",
"name": null,
"brand": "062fec8a-c481-4b5f-a245-c573b195329f",
"capture_number": 0,
"mls": null,
"is_default": false,
"type": "lead_channel",
"created_at": 1774173477.488632,
"updated_at": 1774173477.488633,
"deleted_at": null,
"last_capture_date": null,
"rules_count": "1",
"title": null
}
],
"info": {
"count": 2,
"total": 2
}
}Create a Lead Channel ¶
Create a Lead ChannelPOST/brands/:brand/leads/channels
Example URI
POST /brands/:brand/leads/channels
URI Parameters
- brand
string(required) Example: 062fec8a-c481-4b5f-a245-c573b195329f
Request
Body
{
"protocol": "JSON"
}Response
200Body
{
"code": "OK",
"data": {
"id": "4c6da944-0b27-4b4d-a42b-13a94d5e1688",
"name": null,
"brand": "062fec8a-c481-4b5f-a245-c573b195329f",
"capture_number": 0,
"mls": null,
"is_default": false,
"type": "lead_channel",
"created_at": 1774173477.488632,
"updated_at": 1774173477.488633,
"deleted_at": null,
"last_capture_date": null,
"rules_count": "1",
"title": null
}
}Delete a Lead Channel ¶
Delete a Lead ChannelDELETE/brands/:brand/leads/channels/:leadChannelId
Example URI
DELETE /brands/:brand/leads/channels/:leadChannelId
URI Parameters
- brand
string(required) Example: 062fec8a-c481-4b5f-a245-c573b195329f- channel
string(required) Example: 4c6da944-0b27-4b4d-a42b-13a94d5e1688
Request
Body
{
"brand": "126b7992-dc38-48f0-bf24-408a4a55c2c1"
}Response
204Update a Lead Channel ¶
Update a Lead ChannelPUT/brands/:brand/leads/channels/:leadChannelId
Example URI
PUT /brands/:brand/leads/channels/:leadChannelId
URI Parameters
- brand
string(required) Example: 062fec8a-c481-4b5f-a245-c573b195329f- channel
string(required) Example: 4c6da944-0b27-4b4d-a42b-13a94d5e1688
Request
Body
{
"name": "New Name"
}Response
200Body
{
"code": "OK",
"data": {
"id": "4c6da944-0b27-4b4d-a42b-13a94d5e1688",
"name": "New Name",
"brand": "062fec8a-c481-4b5f-a245-c573b195329f",
"capture_number": 0,
"mls": null,
"is_default": false,
"type": "lead_channel",
"created_at": 1774173477.488632,
"updated_at": 1774173476.680564,
"deleted_at": null,
"last_capture_date": null,
"rules_count": "1",
"title": null
}
}Rule ¶
Overview
Rule
A LeadChannelRule determines how leads are routed based on specified conditions.
| Field | Type | Association | Description |
|---|---|---|---|
| id | uuid | Internal identifier of the lead routing rule | |
| created_at | number | Timestamp of when this rule was created | |
| updated_at | number | Timestamp of when this rule was last updated | |
| created_by | uuid | User who created this rule | |
| kind | ‘AND’ | ‘OR’ | Logical operator for combining conditions (AND or OR) | |
| is_default | boolean | Whether this rule is the default rule for the channel | |
| order | number | Order of this rule in the routing sequence | |
| conditions | uuid[] | lead_channel_rule.conditions | List of condition identifiers associated with this rule |
| flow | uuid | null | lead_channel_rule.flow | Identifier of the flow to enroll leads into (if applicable) |
| target | ‘Group’ | ‘User’ | ‘Brand’ | Type of target entity this rule applies to | |
| group | uuid | null | lead_channel_rule.group | Identifier of the group (if target is ‘Group’) |
| user | uuid | null | lead_channel_rule.user | Identifier of the user (if target is ‘User’) |
| brand | uuid | null | lead_channel_rule.brand | Identifier of the brand (if target is ‘Brand’ or ‘User’) |
RuleCondition
A LeadChannelRuleCondition specifies a single criterion used to evaluate and filter leads.
| Field | Type | Association | Description |
|---|---|---|---|
| id | uuid | Internal identifier of the condition | |
| created_at | number | Timestamp of when this condition was created | |
| order | number | Order of this condition in the rule’s conditions sequence | |
| field | string | Field name to be evaluated | |
| operator | ‘eq’ | ‘any’ | ‘all’ | ‘gte’ | ‘lte’ | Operator to be used for evaluation | |
| value | any | Value against which the field will be evaluated | |
| negated | boolean | Whether to negate the condition’s evaluation |
Create a lead channel rule ¶
Create a lead channel rulePOST/brands/:brand/leads/channels/:id/rules
Example URI
POST /brands/:brand/leads/channels/:id/rules
URI Parameters
- brand
string(required) Example: 062fec8a-c481-4b5f-a245-c573b195329f- channel
string(required) Example: 4c6da944-0b27-4b4d-a42b-13a94d5e1688- associations
string(required) Example: lead_channel_rule.conditions,lead_channel_rule.brand,lead_channel_rule.user
Request
Body
{
"target": "User",
"kind": "AND",
"order": 1,
"flow": null,
"user": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"brand": "062fec8a-c481-4b5f-a245-c573b195329f",
"conditions": [
{
"field": "price",
"operator": "gte",
"value": 500000,
"order": 1
}
]
}Response
200Body
{
"code": "OK",
"data": {
"id": "425ce46a-1a11-4be8-af55-369b72696e2b",
"created_at": 1774173476.680564,
"updated_at": 1774173476.680564,
"deleted_at": null,
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"channel": "4c6da944-0b27-4b4d-a42b-13a94d5e1688",
"kind": "AND",
"order": 1,
"target": "User",
"user": {
"type": "user",
"username": null,
"first_name": "Unit",
"last_name": "Test",
"email": "[email protected]",
"phone_number": "+4368120265807",
"created_at": 1493115498.770362,
"id": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"address_id": null,
"cover_image_url": null,
"profile_image_url": null,
"updated_at": 1493115498.770744,
"user_status": "Active",
"profile_image_thumbnail_url": null,
"cover_image_thumbnail_url": null,
"email_confirmed": true,
"timezone": "America/Chicago",
"user_type": "Admin",
"deleted_at": null,
"phone_confirmed": false,
"is_shadow": false,
"personal_room": null,
"brand": null,
"fake_email": false,
"features": [
"Deals"
],
"last_seen_at": null,
"email_signature": null,
"daily_enabled": false,
"email_quota": 30000,
"website": null,
"instagram": null,
"twitter": null,
"linkedin": null,
"youtube": null,
"facebook": null,
"designation": null,
"tiktok": null,
"mfa_enabled": false,
"xpressdocs_user_id": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"current_time": "4:57 AM - Sunday Mar 22, 2026",
"push_allowed": false,
"agents": null,
"last_seen_type": null,
"active_brand": "126b7992-dc38-48f0-bf24-408a4a55c2c1",
"display_name": "Unit Test",
"abbreviated_display_name": "Unit",
"online_state": "Offline",
"has_password": true
},
"brand": {
"id": "062fec8a-c481-4b5f-a245-c573b195329f",
"created_at": 1774173476.770396,
"updated_at": 1774173476.770396,
"palette": null,
"assets": null,
"messages": null,
"parent": null,
"name": "LeadChannel",
"deleted_at": null,
"training": false,
"brand_type": "Team",
"parents": null,
"type": "brand",
"hostnames": null,
"member_count": 1,
"base_url": "https://irish.rechat.com"
},
"is_default": false,
"conditions": [
{
"id": "60266c87-4605-4753-80e3-d7602604ceea",
"created_at": 1774173476.680564,
"rule": "425ce46a-1a11-4be8-af55-369b72696e2b",
"order": 1,
"field": "price",
"operator": "gte",
"value": 500000,
"negated": false,
"type": "lead_channel_rule_condition"
}
],
"type": "lead_channel_rule"
}
}Get rules for a lead channel ¶
Get rules for a lead channelGET/brands/:brand/leads/channels/:id/rules
Example URI
GET /brands/:brand/leads/channels/:id/rules
URI Parameters
- brand
string(required) Example: 062fec8a-c481-4b5f-a245-c573b195329f- channel
string(required) Example: 4c6da944-0b27-4b4d-a42b-13a94d5e1688- associations
string(required) Example: lead_channel_rule.conditions,lead_channel_rule.brand,lead_channel_rule.user
Response
200Body
{
"code": "OK",
"data": [
{
"id": "425ce46a-1a11-4be8-af55-369b72696e2b",
"created_at": 1774173476.680564,
"updated_at": 1774173476.680564,
"deleted_at": null,
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"channel": "4c6da944-0b27-4b4d-a42b-13a94d5e1688",
"kind": "AND",
"order": 1,
"target": "User",
"user": {
"type": "user",
"username": null,
"first_name": "Unit",
"last_name": "Test",
"email": "[email protected]",
"phone_number": "+4368120265807",
"created_at": 1493115498.770362,
"id": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"address_id": null,
"cover_image_url": null,
"profile_image_url": null,
"updated_at": 1493115498.770744,
"user_status": "Active",
"profile_image_thumbnail_url": null,
"cover_image_thumbnail_url": null,
"email_confirmed": true,
"timezone": "America/Chicago",
"user_type": "Admin",
"deleted_at": null,
"phone_confirmed": false,
"is_shadow": false,
"personal_room": null,
"brand": null,
"fake_email": false,
"features": [
"Deals"
],
"last_seen_at": null,
"email_signature": null,
"daily_enabled": false,
"email_quota": 30000,
"website": null,
"instagram": null,
"twitter": null,
"linkedin": null,
"youtube": null,
"facebook": null,
"designation": null,
"tiktok": null,
"mfa_enabled": false,
"xpressdocs_user_id": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"current_time": "4:57 AM - Sunday Mar 22, 2026",
"push_allowed": false,
"agents": null,
"last_seen_type": null,
"active_brand": "126b7992-dc38-48f0-bf24-408a4a55c2c1",
"display_name": "Unit Test",
"abbreviated_display_name": "Unit",
"online_state": "Offline",
"has_password": true
},
"brand": {
"id": "062fec8a-c481-4b5f-a245-c573b195329f",
"created_at": 1774173476.770396,
"updated_at": 1774173476.770396,
"palette": null,
"assets": null,
"messages": null,
"parent": null,
"name": "LeadChannel",
"deleted_at": null,
"training": false,
"brand_type": "Team",
"parents": null,
"type": "brand",
"hostnames": null,
"member_count": 1,
"base_url": "https://irish.rechat.com"
},
"is_default": false,
"conditions": [
{
"id": "60266c87-4605-4753-80e3-d7602604ceea",
"created_at": 1774173476.680564,
"rule": "425ce46a-1a11-4be8-af55-369b72696e2b",
"order": 1,
"field": "price",
"operator": "gte",
"value": 500000,
"negated": false,
"type": "lead_channel_rule_condition"
}
],
"type": "lead_channel_rule"
},
{
"id": "fb401eef-437f-4145-b4c0-e77065f0b596",
"created_at": 1774173476.680564,
"updated_at": 1774173476.680564,
"deleted_at": null,
"created_by": null,
"channel": "4c6da944-0b27-4b4d-a42b-13a94d5e1688",
"kind": "AND",
"order": 32767,
"target": "User",
"user": {
"type": "user",
"username": null,
"first_name": "Unit",
"last_name": "Test",
"email": "[email protected]",
"phone_number": "+4368120265807",
"created_at": 1493115498.770362,
"id": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"address_id": null,
"cover_image_url": null,
"profile_image_url": null,
"updated_at": 1493115498.770744,
"user_status": "Active",
"profile_image_thumbnail_url": null,
"cover_image_thumbnail_url": null,
"email_confirmed": true,
"timezone": "America/Chicago",
"user_type": "Admin",
"deleted_at": null,
"phone_confirmed": false,
"is_shadow": false,
"personal_room": null,
"brand": null,
"fake_email": false,
"features": [
"Deals"
],
"last_seen_at": null,
"email_signature": null,
"daily_enabled": false,
"email_quota": 30000,
"website": null,
"instagram": null,
"twitter": null,
"linkedin": null,
"youtube": null,
"facebook": null,
"designation": null,
"tiktok": null,
"mfa_enabled": false,
"xpressdocs_user_id": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"current_time": "4:57 AM - Sunday Mar 22, 2026",
"push_allowed": false,
"agents": null,
"last_seen_type": null,
"active_brand": "126b7992-dc38-48f0-bf24-408a4a55c2c1",
"display_name": "Unit Test",
"abbreviated_display_name": "Unit",
"online_state": "Offline",
"has_password": true
},
"brand": {
"id": "062fec8a-c481-4b5f-a245-c573b195329f",
"created_at": 1774173476.770396,
"updated_at": 1774173476.770396,
"palette": null,
"assets": null,
"messages": null,
"parent": null,
"name": "LeadChannel",
"deleted_at": null,
"training": false,
"brand_type": "Team",
"parents": null,
"type": "brand",
"hostnames": null,
"member_count": 1,
"base_url": "https://irish.rechat.com"
},
"is_default": true,
"conditions": null,
"type": "lead_channel_rule"
}
],
"info": {
"count": 2,
"total": 0
}
}Reorder rules for a lead channel ¶
Reorder rules for a lead channelPUT/brands/:brand/leads/channels/:id/rules/sort
Example URI
PUT /brands/:brand/leads/channels/:id/rules/sort
URI Parameters
- brand
string(required) Example: 062fec8a-c481-4b5f-a245-c573b195329f- channel
string(required) Example: 4c6da944-0b27-4b4d-a42b-13a94d5e1688
Request
Body
[
{
"id": "fb401eef-437f-4145-b4c0-e77065f0b596",
"order": 1
},
{
"id": "425ce46a-1a11-4be8-af55-369b72696e2b",
"order": 2
}
]Response
200Update a lead channel rule ¶
Update a lead channel rulePUT/brands/:brand/leads/channels/:id/rules/:rule
Example URI
PUT /brands/:brand/leads/channels/:id/rules/:rule
URI Parameters
- brand
string(required) Example: 062fec8a-c481-4b5f-a245-c573b195329f- channel
string(required) Example: 4c6da944-0b27-4b4d-a42b-13a94d5e1688- rule
string(required) Example: 425ce46a-1a11-4be8-af55-369b72696e2b- associations
string(required) Example: lead_channel_rule.conditions,lead_channel_rule.brand,lead_channel_rule.user
Request
Body
{
"target": "Brand",
"kind": "OR",
"order": 2,
"flow": null,
"user": null,
"brand": "062fec8a-c481-4b5f-a245-c573b195329f",
"conditions": [
{
"field": "postal_code",
"operator": "any",
"value": [
"90210",
"90211"
],
"order": 1
},
{
"field": "price",
"operator": "lte",
"value": 1000000,
"order": 2
}
]
}Response
200Body
{
"code": "OK",
"data": {
"id": "425ce46a-1a11-4be8-af55-369b72696e2b",
"created_at": 1774173476.680564,
"updated_at": 1774173476.680564,
"deleted_at": null,
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"channel": "4c6da944-0b27-4b4d-a42b-13a94d5e1688",
"kind": "OR",
"order": 2,
"target": "Brand",
"user": null,
"brand": {
"id": "062fec8a-c481-4b5f-a245-c573b195329f",
"created_at": 1774173476.770396,
"updated_at": 1774173476.770396,
"palette": null,
"assets": null,
"messages": null,
"parent": null,
"name": "LeadChannel",
"deleted_at": null,
"training": false,
"brand_type": "Team",
"parents": null,
"type": "brand",
"hostnames": null,
"member_count": 1,
"base_url": "https://irish.rechat.com"
},
"is_default": false,
"conditions": [
{
"id": "207f219e-4c88-4bed-883c-733a1858719b",
"created_at": 1774173476.680564,
"rule": "425ce46a-1a11-4be8-af55-369b72696e2b",
"order": 1,
"field": "postal_code",
"operator": "any",
"value": [
"90210",
"90211"
],
"negated": false,
"type": "lead_channel_rule_condition"
},
{
"id": "284a10d4-af09-4a94-83bd-846b6eba2fa4",
"created_at": 1774173476.680564,
"rule": "425ce46a-1a11-4be8-af55-369b72696e2b",
"order": 2,
"field": "price",
"operator": "lte",
"value": 1000000,
"negated": false,
"type": "lead_channel_rule_condition"
}
],
"type": "lead_channel_rule"
}
}Delete a lead channel rule ¶
Delete a lead channel ruleDELETE/brands/:brand/leads/channels/:id/rules/:rule
Example URI
DELETE /brands/:brand/leads/channels/:id/rules/:rule
URI Parameters
- brand
string(required) Example: 062fec8a-c481-4b5f-a245-c573b195329f- channel
string(required) Example: 4c6da944-0b27-4b4d-a42b-13a94d5e1688- rule
string(required) Example: 425ce46a-1a11-4be8-af55-369b72696e2b
Response
204Get Lead Routing Groups of brand ¶
Get Lead Routing Groups of brandGET/brands/:brand/leads/groups
Example URI
GET /brands/:brand/leads/groups
URI Parameters
- brand
string(required) Example: 062fec8a-c481-4b5f-a245-c573b195329f
Response
200Body
{
"code": "OK",
"data": [
{
"id": "41193dea-3130-453c-8d96-5217779f7ec4",
"created_at": 1774173476.680564,
"updated_at": 1774173476.680564,
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"brand": "062fec8a-c481-4b5f-a245-c573b195329f",
"name": "Test Group",
"description": null,
"distribution": "RoundRobin",
"type": "lead_routing_group"
}
],
"info": {
"count": 1,
"total": 0
}
}Create a Lead Routing Group ¶
Create a Lead Routing GroupPOST/brands/:brand/leads/groups
Example URI
POST /brands/:brand/leads/groups
URI Parameters
- brand
string(required) Example: 062fec8a-c481-4b5f-a245-c573b195329f
Request
Body
{
"name": "Test Group",
"brand": "062fec8a-c481-4b5f-a245-c573b195329f",
"distribution": "RoundRobin",
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"members": [
{
"user": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"order": 1,
"brand": "062fec8a-c481-4b5f-a245-c573b195329f"
}
]
}Response
200Body
{
"code": "OK",
"data": {
"id": "41193dea-3130-453c-8d96-5217779f7ec4",
"created_at": 1774173476.680564,
"updated_at": 1774173476.680564,
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"brand": "062fec8a-c481-4b5f-a245-c573b195329f",
"name": "Test Group",
"description": null,
"distribution": "RoundRobin",
"type": "lead_routing_group"
}
}Update a Lead Routing Group ¶
Update a Lead Routing GroupPATCH/brands/:brand/leads/groups/:group
Example URI
PATCH /brands/:brand/leads/groups/:group
URI Parameters
- brand
string(required) Example: 062fec8a-c481-4b5f-a245-c573b195329f- group
string(required) Example: 41193dea-3130-453c-8d96-5217779f7ec4
Request
Body
{
"name": "Test Group Updated",
"distribution": "FirstToClaim",
"members": [
{
"user": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"order": 2,
"brand": "062fec8a-c481-4b5f-a245-c573b195329f"
}
]
}Response
200Body
{
"code": "OK",
"data": {
"id": "41193dea-3130-453c-8d96-5217779f7ec4",
"created_at": 1774173476.680564,
"updated_at": 1774173476.680564,
"created_by": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"brand": "062fec8a-c481-4b5f-a245-c573b195329f",
"name": "Test Group Updated",
"description": null,
"distribution": "FirstToClaim",
"type": "lead_routing_group"
}
}Delete a Lead Routing Group ¶
Delete a Lead Routing GroupDELETE/brands/:brand/leads/groups/:group
Example URI
DELETE /brands/:brand/leads/groups/:group
URI Parameters
- brand
string(required) Example: 062fec8a-c481-4b5f-a245-c573b195329f- group
string(required) Example: 41193dea-3130-453c-8d96-5217779f7ec4
Response
204Lead Capture ¶
Overview
Capture a lead using a known lead channel ID ¶
Capture a lead using a known lead channel IDPOST/leads
Example URI
POST /leads
Request
Body
{
"metadata": {
"lead_channel": "aaf13208-0fbb-474b-beea-02c2f7b4702b"
},
"lead": {
"first_name": "Test",
"last_name": "User",
"email": "[email protected]",
"source_type": "Website"
}
}Response
200Body
{
"code": "OK",
"data": {
"id": "43878d2e-dcb2-41b9-81c6-3a51a0c4e984",
"contact": "6ce3ea42-14b2-4089-af85-f84af316c326",
"lead_channel": "aaf13208-0fbb-474b-beea-02c2f7b4702b",
"raw_payload": {
"first_name": "Test",
"last_name": "User",
"email": "[email protected]",
"source_type": "Website"
},
"parsed_payload": {
"first_name": "Test",
"last_name": "User",
"email": "[email protected]",
"source_type": "Website"
},
"source_type": "Website",
"created_at": 1774173464.868
}
}Capture a lead using an email campaign email ID ¶
Capture a lead using an email campaign email IDPOST/leads
Example URI
POST /leads
Request
Body
{
"metadata": {
"email_campaign_email": "8ac0be1a-600b-4bb7-ab57-1f31e78819fa"
},
"lead": {
"first_name": "Test",
"last_name": "Recipient",
"email": "[email protected]",
"source_type": "Email Campaign"
}
}Response
200Body
{
"code": "OK",
"data": {
"id": "e6d6bcbc-9866-4837-ba29-5edb05cdb179",
"contact": "a603bb45-5154-4b52-89b1-f8ced18c849b",
"lead_channel": "aaf13208-0fbb-474b-beea-02c2f7b4702b",
"raw_payload": {
"first_name": "Test",
"last_name": "Recipient",
"email": "[email protected]",
"source_type": "Email Campaign"
},
"parsed_payload": {
"first_name": "Test",
"last_name": "Recipient",
"email": "[email protected]",
"source_type": "Email Campaign"
},
"source_type": "Email Campaign",
"created_at": 1774173469.845
}
}Filter contacts by lead channel ¶
Filter contacts by lead channelPOST/contacts/filter
Example URI
POST /contacts/filter
Request
Body
{
"lead_channels": [
"dc03bd82-44ea-4475-b0cb-5ad19deba345"
]
}Response
200Body
{
"code": "OK",
"data": [
{
"id": "297c1a25-5505-4bea-a67c-3c8491ff10d5",
"display_name": "Hossein Derakhshan",
"partner_name": null,
"brand": "062fec8a-c481-4b5f-a245-c573b195329f",
"brand_id": "062fec8a-c481-4b5f-a245-c573b195329f",
"user_id": "80a227b2-29a0-11e7-b636-e4a7a08e15d4",
"sort_field": "Derakhshan Hossein",
"last_touch": 1774173476.680564,
"last_touch_action": null,
"next_touch": null,
"touch_freq": null,
"ios_address_book_id": null,
"android_address_book_id": null,
"created_at": 1774173478.223236,
"updated_at": 1774173476.680564,
"deleted_at": null,
"created_for": "lts_lead",
"updated_for": "lts_lead",
"deleted_for": null,
"title": null,
"first_name": "Hossein",
"partner_first_name": null,
"middle_name": null,
"last_name": "Derakhshan",
"partner_last_name": null,
"marketing_name": null,
"nickname": null,
"email": "[email protected]",
"primary_email": "[email protected]",
"emails": [
"[email protected]"
],
"parked": false,
"partner_email": null,
"phone_number": "+905348632070",
"primary_phone_number": "+905348632070",
"phone_numbers": [
"+905348632070"
],
"company": null,
"birthday": null,
"profile_image_url": null,
"cover_image_url": null,
"job_title": null,
"source_type": "Showing",
"source": "Website",
"website": null,
"tags": [
"Showing",
"Lead"
],
"address": [
{
"city": "Atlanta",
"full": ", Atlanta GA",
"type": "stdaddr",
"line2": "Atlanta GA",
"state": "GA"
}
],
"type": "contact"
}
],
"info": {
"count": 1,
"total": 1
}
}