Update Channel
PUT /api/v1/channels/{channel_id}
PUT
/api/v1/channels/{channel_id}
Update a channel’s configuration.
Authorizations
Seção intitulada “Authorizations ”Parameters
Seção intitulada “ Parameters ”Path Parameters
Seção intitulada “Path Parameters ” channel_id
required
Channel Id
integer
Header Parameters
Seção intitulada “Header Parameters ”Request Body required
Seção intitulada “Request Body required ” ChannelUpdate
Schema for updating a Channel.
object
business_hours
Any of:
BusinessHours
Business hours configuration.
object
monday
Any of:
DaySchedule
Schedule for a single day.
object
enabled
Enabled
boolean
start
Start
string
end
End
string
null
tuesday
Any of:
DaySchedule
Schedule for a single day.
object
enabled
Enabled
boolean
start
Start
string
end
End
string
null
wednesday
Any of:
DaySchedule
Schedule for a single day.
object
enabled
Enabled
boolean
start
Start
string
end
End
string
null
thursday
Any of:
DaySchedule
Schedule for a single day.
object
enabled
Enabled
boolean
start
Start
string
end
End
string
null
friday
Any of:
DaySchedule
Schedule for a single day.
object
enabled
Enabled
boolean
start
Start
string
end
End
string
null
saturday
Any of:
DaySchedule
Schedule for a single day.
object
enabled
Enabled
boolean
start
Start
string
end
End
string
null
sunday
Any of:
DaySchedule
Schedule for a single day.
object
enabled
Enabled
boolean
start
Start
string
end
End
string
null
null
assignment_mode
Any of:
AssignmentModeEnum
How conversations are assigned to agents.
string
null
Responses
Seção intitulada “ Responses ”Successful Response
ChannelResponse
Schema for Channel response.
object
name
required
Name
Friendly name for the channel
string
channel_type
required
Type of channel
string
id
required
Id
integer
status
required
ChannelStatusEnum
Status of a channel connection.
string
config
required
Config
object
is_active
required
Is Active
boolean
is_default
required
Is Default
boolean
auto_reply_enabled
required
Auto Reply Enabled
boolean
business_hours_enabled
required
Business Hours Enabled
boolean
assignment_mode
required
AssignmentModeEnum
How conversations are assigned to agents.
string
sla_enabled
required
Sla Enabled
boolean
total_conversations
required
Total Conversations
integer
total_messages_sent
required
Total Messages Sent
integer
total_messages_received
required
Total Messages Received
integer
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string