Skip to main content
GET
Lead Routing Rules

Headers

Authorization
string
required

Bearer [access_token]

Path Parameters

type
enum<integer>
required

Routing business type.

Available options:
1,
2,
4

Query Parameters

roleId
integer<int32>
default:-1

Role ID. Required when type = 4 (ASSISTANT_LEAD).

Response

Routing rules for the given business type.

id
integer<int64>

Rule id

name
string

Rule name

locationRule
object

Location rule

sourceName
string

Lead source name

sourceMatchType
integer<int32>

Lead source name

tagNames
string[]

Lead tag name list

Example:
tagMatchType
integer<int32>

Tag match type

groupNames
string[]

Lead segment name list

Example:
groupMatchType
integer<int32>

Group match type

phone
string

Phone setting

Example:

"'With'、'Without'、 ''"

priceMin
integer<int64>

Price min

priceMax
integer<int64>

Price max

leadType
string

lead type

Example:

"Other(-1),Seller(1),Buyer(2),B&S(3),Renter(5)"

leadTypeFilters
string

multi lead type

Example:

"[{\"type\":\"one_of\",\"ids\":\"1,2,3\"},{\"type\":\"all\",\"ids\":\"1,2,3\"}]"

activeHours
object

Active hours setting

routingStrategy
object

Active hours setting

ruleSwitch
boolean

Rule switch

updateTime
integer<int64>

Update time