GET
https://api-us.engagor.com/{account_id}/settings/businesshoursschedules
Returns the list of business hours schedules for a certain account.
Param | Description | Required | Default Value |
---|---|---|---|
page_token |
Paging parameter. | No | |
limit |
Amount of business hours schedules to return. (Allowed: 0 to 200.) | No |
(int) 20 |
paged_list
of business_hours_schedule
items.
POST
https://api-us.engagor.com/{account_id}/settings/businesshoursschedules
Add a new business hours schedule for a certain account.
Param | Description | Required | Default Value |
---|---|---|---|
business_hours_schedule |
A JSON encoded array of a business hours schedule you want to make. Structure of the object should be like business_hours_schedule . Eg. {"name":"My schedule","timezone":"Europe/Brussels","periods":[{"dayofweek":1,"start":"0900","end":"1500"},{"dayofweek":1,"start":"1600","end":"2200"},{"dayofweek":2,"start":"0900","end":"2300"}]} |
Yes |
business_hours_schedule
The new business hours schedule.