Business Hours

Create a business-hours profile

Administrators and the account owner only.

An inbox channel belongs to at most one profile. Binding one that another profile already covers returns 422 carrying conflicting_business_hour_id, inbox_id, and channel in place of the usual errors object, and the whole write is rolled back.

Under calendar_24_7 the server stores schedule and schedule_type as null whatever the payload carries.

Personal access token only. The API supports a second, partner-issued token class that is not part of the public surface. This endpoint does not accept that class.

post/business-hours

Request

  • Base URL
    https://api.thrivedesk.com/v1
  • Auth
    HTTP bearer

Request body

namestring required

Unique within the organization.

descriptionstring
mode'calendar_24_7' | 'business_hours' required
schedule_type'standard' | 'custom'

Required when mode is business_hours.

Example request

{
  "schedule": [
    {
      "start": "09:00",
      "end": "17:00"
    }
  ]
}

Response

Success.

Example response

{
  "data": {
    "schedule": [
      {
        "start": "09:00",
        "end": "17:00"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.