Set service-level target
Sets the service-level target using target_percent, target_seconds, abandon_max_percent, max_wait_seconds and repeat_window_days.
Requires: desk.admin scope, workspace owner or admin, Pro plan.
Authorization
bearerAuth A SautiDesk API key. An owner or admin makes it under Settings in SautiDesk for a named person and picks the scopes. The key is shown once. Send it as Authorization: Bearer <key>. It acts as that person and as nobody else.
In: header
Request Body
application/json
Response
OK
Example
{ "target_percent": 1, "target_seconds": 60, "abandon_max_percent": 1, "max_wait_seconds": 60, "repeat_window_days": 1}target_percentrequiredintegerThe share of calls, in percent, you aim to answer within the target time.target_secondsrequiredintegerThe time, in seconds, within which you aim to answer.abandon_max_percentrequiredintegerThe highest share of calls, in percent, that callers may hang up on before it counts as a breach.max_wait_secondsrequiredintegerHow long a caller may wait, in seconds, before it counts as a breach.repeat_window_daysrequiredintegerHow many days apart two calls from the same number count as a repeat contact.curl -X PUT "https://api.sautidesk.com/v1/desk/settings/service-level" \ -H "Content-Type: application/json" \ -d '{ "target_percent": 1, "target_seconds": 60, "abandon_max_percent": 1, "max_wait_seconds": 60, "repeat_window_days": 1 }'