PATCH /api/v2/offices/{id}
Rate limit: 1200 per minute.
Servers
- https://dialpad.com/
- https://sandbox.dialpad.com/
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
Integer | Yes |
The office's id. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
monday_hours[] |
Array | No |
The Monday hours of operation. To specify when hours_on is set to True. e.g. ["08:00", "12:00", "14:00", "18:00"] => open from 8AM to Noon, and from 2PM to 6PM. Default value is ["08:00", "18:00"]. |
tuesday_hours[] |
Array | No |
The Tuesday hours of operation. Default value is ["08:00", "18:00"]. |
hours_on |
Boolean | No |
The time frame when the department wants to receive calls. Default value is false, which means the call center will always take calls (24/7). |
thursday_hours[] |
Array | No |
The Thursday hours of operation. Default value is ["08:00", "18:00"]. |
saturday_hours[] |
Array | No |
The Saturday hours of operation. Default is empty array. |
friday_hours[] |
Array | No |
The Friday hours of operation. Default value is ["08:00", "18:00"]. |
sunday_hours[] |
Array | No |
The Sunday hours of operation. Default is empty array. |
wednesday_hours[] |
Array | No |
The Wednesday hours of operation. Default value is ["08:00", "18:00"]. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.