Returns the routing rules configured on the caller’s team for the given business type. Caller must have MANAGE_LEAD_DISTRIBUTION or MANAGE_LEAD_DISTRIBUTION_DEPARTMENT permission.
curl --request GET \
--url https://api.lofty.com/v1.0/routing/rule/list/{type} \
--header 'Authorization: <authorization>'[
{
"id": 123,
"name": "<string>",
"locationRule": {
"locationMatchType": 123,
"state": "NL",
"county": "<string>",
"city": "<string>",
"zipcode": "<string>",
"streetAddress": "<string>"
},
"sourceName": "<string>",
"sourceMatchType": 123,
"tagNames": [
"Hot Lead",
"Zillow"
],
"tagMatchType": 123,
"groupNames": [
"First-Time Buyers",
"Downtown Area"
],
"groupMatchType": 123,
"phone": "'With'、'Without'、 ''",
"priceMin": 123,
"priceMax": 123,
"leadType": "Other(-1),Seller(1),Buyer(2),B&S(3),Renter(5)",
"leadTypeFilters": "[{\"type\":\"one_of\",\"ids\":\"1,2,3\"},{\"type\":\"all\",\"ids\":\"1,2,3\"}]",
"activeHours": {
"activeDays": [
1,
2,
3,
4,
5
],
"hoursStart": 123,
"hoursEnd": 123
},
"routingStrategy": {
"strategyType": 123,
"groupId": 123,
"groupName": "<string>",
"touchMinutes": 123,
"memberWeights": {
"memberId": 123,
"firstName": "<string>",
"lastName": "<string>",
"weight": 123
}
},
"ruleSwitch": true,
"updateTime": 123
}
]Documentation Index
Fetch the complete documentation index at: https://developer.lofty.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer [access_token]
Routing business type.
1, 2, 4 Role ID. Required when type = 4 (ASSISTANT_LEAD).
Routing rules for the given business type.
Rule id
Rule name
Location rule
Show child attributes
Lead source name
Lead source name
Lead tag name list
["Hot Lead", "Zillow"]
Tag match type
Lead segment name list
["First-Time Buyers", "Downtown Area"]
Group match type
Phone setting
"'With'、'Without'、 ''"
Price min
Price max
lead type
"Other(-1),Seller(1),Buyer(2),B&S(3),Renter(5)"
multi lead type
"[{\"type\":\"one_of\",\"ids\":\"1,2,3\"},{\"type\":\"all\",\"ids\":\"1,2,3\"}]"
Active hours setting
Show child attributes
Active hours setting
Show child attributes
Rule switch
Update time
curl --request GET \
--url https://api.lofty.com/v1.0/routing/rule/list/{type} \
--header 'Authorization: <authorization>'[
{
"id": 123,
"name": "<string>",
"locationRule": {
"locationMatchType": 123,
"state": "NL",
"county": "<string>",
"city": "<string>",
"zipcode": "<string>",
"streetAddress": "<string>"
},
"sourceName": "<string>",
"sourceMatchType": 123,
"tagNames": [
"Hot Lead",
"Zillow"
],
"tagMatchType": 123,
"groupNames": [
"First-Time Buyers",
"Downtown Area"
],
"groupMatchType": 123,
"phone": "'With'、'Without'、 ''",
"priceMin": 123,
"priceMax": 123,
"leadType": "Other(-1),Seller(1),Buyer(2),B&S(3),Renter(5)",
"leadTypeFilters": "[{\"type\":\"one_of\",\"ids\":\"1,2,3\"},{\"type\":\"all\",\"ids\":\"1,2,3\"}]",
"activeHours": {
"activeDays": [
1,
2,
3,
4,
5
],
"hoursStart": 123,
"hoursEnd": 123
},
"routingStrategy": {
"strategyType": 123,
"groupId": 123,
"groupName": "<string>",
"touchMinutes": 123,
"memberWeights": {
"memberId": 123,
"firstName": "<string>",
"lastName": "<string>",
"weight": 123
}
},
"ruleSwitch": true,
"updateTime": 123
}
]