Skip to main content

CreateBusinessHours creates business hours for a specific day.

POST 

/api/v1/voice/business-hours

Configures operating hours for one day of the week.

Parameters

  • day_of_week: Required, 0-6 (Sunday-Saturday)
  • open_time: Required, opening time (HH:MM format)
  • close_time: Required, closing time (HH:MM format)
  • is_closed: Optional, mark day as closed
  • channels: Optional, specific channels (empty = all)

Errors

  • ALREADY_EXISTS: Hours for this day already exist
  • INVALID_ARGUMENT: Invalid day or time format
  • PERMISSION_DENIED: Caller lacks voice:schedule:write permission

Request

Responses

A successful response.