Get
Deprecated/api/v1/livechat/business-hours.list
Gives a list of existing business hours. This endpoint has been renamed to Get Business Hours from Rocket.Chat 5.0.
Header parameters
X-Auth-Token
stringRequired
The authToken
of the authenticated user.
ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired
The userId
of the authenticated user.
ExamplerbAXPnMktTFbNpwtJ
Responses
200
OK
object
businessHours
Array of object
object
_id
string
ts
string
name
string
active
boolean
type
string
workHours
Array of object
object
day
string
start
object
time
string
utc
object
dayOfWeek
string
time
string
cron
object
dayOfWeek
string
time
string
finish
object
time
string
utc
object
dayOfWeek
string
time
string
cron
object
dayOfWeek
string
time
string
open
boolean
timezone
object
name
string
utc
string
departmentsToApplyBusinessHour
string
count
integer
offset
integer
total
integer
success
boolean