get https://bolt.thena.ai/v3/accounts//settings
This is the API to update settings at an account (channel) level. Pass `accountId` as the path parameter.
The `update` field accepts the fields that need to be updated.
The reset
field accepts an array of flattened configuration keys to be unset/removed.
Below is an example body.
{
"update": {
"features": {
"requests": {
"support": {
"response_sla": {
"isEnabled": true,
"workingHoursConfig": {
"dailyWorkingHourConfig": false,
"dailyConfigurations": {
"0": { "0": "", "1": "" },
"1": { "0": "", "1": "" },
"2": { "0": "", "1": "" },
"3": { "0": "", "1": "" },
"4": { "0": "", "1": "" },
"5": { "0": "", "1": "" },
"6": { "0": "", "1": "" }
},
"holidayDates": ["2023-01-01"],
"workingDays": [5],
"startTime": "09:00",
"endTime": "17:00",
"startTimeUTC": "2023-01-01T09:00:00Z",
"endTimeUTC": "2023-01-01T17:00:00Z",
"timezone": "UTC",
"isEnabled": true,
"sendOutOfOfficeAutoReply": false,
"outOfOfficeAutoReplyMessage": "Thank you for your message. Our team is not available at the moment, but we will respond to your inquiry as soon as possible. Thank you for your patience.",
"sendAutoReplyonAllCustomerMessages": false,
"useCsmAvatarForAutoReply": false,
"lastOutOfOfficeAutoReplyTime": "2023-01-01T00:00:00.000Z",
"outOfOfficeAutoReplyGroupingWindow": 12
}
}
}
}
}
},
"reset": [
"features.requests.support.response_sla.sla",
"features.requests.support.response_sla.sla_channel"
]
}