Skip to main content
PUT
Update Sales Agent settings

Headers

Authorization
string
required

Bearer [access_token]

Content-Type
string
required

application/json

Body

application/json

Sales agent setting request

id
integer<int64>

Sales Agent ID (required, must be greater than 0)

Example:

12345

assistantName
string

Assistant name

Example:

"Anna"

virtualNumber
string

Virtual phone number

Example:

"+1234567890"

virtualNumberCountry
string

Virtual number country

Example:

"US"

callTransferType
string

Call transfer type: Disabled, ToAssignedAgent

Example:

"Disabled"

fixedNumber
string

Fixed phone number

Example:

"+1234567890"

agentExperience
string

Agent experience description

Example:

"10 years in real estate"

rentalBusiness
boolean

Whether agent handles rental business

Example:

false

websiteChannel
boolean

Whether website channel is enabled

Example:

true

textChannel
boolean

Whether text channel is enabled

Example:

true

emailChannel
boolean

Whether email channel is enabled

Example:

true

startActiveHour
integer<int32>

Active start hour (0-23)

Example:

8

endActiveHour
integer<int32>

Active end hour (0-23)

Example:

20

activeDays
integer<int32>[]

Active days of week (0=Sun, 6=Sat), empty means all days

Example:
leadTypes
integer<int32>[]

Lead types filter, empty means all

Example:
leadSources
integer<int64>[]

Lead source IDs filter, empty means all

Example:
leadPipelines
integer<int64>[]

Lead pipeline IDs filter, empty means all

Example:
agentIds
integer<int64>[]

Agent IDs with access, contains -1 means all

Example:
officeIds
integer<int64>[]

Office IDs with access, contains -1 means all

Example:
leadPondIds
integer<int64>[]

Lead pond IDs with access, contains -1 means all

Example:
newLeadEnable
boolean

Whether new lead follow-up is enabled

Example:

true

visitorsEnable
boolean

Whether visitor follow-up is enabled

Example:

true

followUpRole
string

Follow up role: AI or Agent

Example:

"AI"

Response

Settings updated successfully.

Generic message response

message
string

Result message

Example:

"Operation successful"