View a business-hours profile. 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.
View a business-hours profile.
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.
bearerToken Personal access tokens created from the ThriveDesk UI. Create one under Integrations -> API Keys.
In: header
Business-hours profile identifier.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/business-hours/string"{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "mode": "calendar_24_7", "schedule_type": "standard", "schedule": [ { "day": "mon", "enabled": true, "start": "string", "end": "string" } ], "inbox_channels": [ { "inbox_id": "string", "channels": [ "email" ] } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }}Delete a business-hours profile DELETE
Administrators and the account owner only. Permanent, and it releases every inbox channel the profile covered. 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.
Update a business-hours profile PATCH
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. Omitted keys keep their stored value and an explicit `null` is ignored rather than clearing the field. Sending `inbox_channels` replaces the whole set. 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.