---
title: "Update Inbound Queue"
method: PUT
path: "/v1/dialer/inbound_queue/{id}"
---

# Update Inbound Queue

`PUT /v1/dialer/inbound_queue/{id}`

This API allows you to update a particular inbound queue.

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Request body

- object
  - `name` string, required — Name of the Inbound Queue.
  - `description` string — “What is this inbound queue for” message.
  - `ring_strategy` string, required — Ring Strategy of Inbound Queue, valid values are 1,2 or 3 with the following convention: ,['id' => '1', 'name' => 'Random'],['id' => '2', 'name' => 'Fewest Calls'],['id' => '3', 'name' => 'Longest Wait Time'],
  - `queue_timeout` string, required — Time for which the queue will run.
  - `failover_destination` string, required — Destination in case call is not picked, valid format is 'type|id'. For example: hangup||1, dialer_queue||id, voicemail||id
  - `music_on_hold` string — To be played while the calls is connecting to the agents, should be a valid id.
  - `failover_music` string — It will play if no one picks up the call, leave blank for default message, else should be a valid id.
  - `agent_ring_timeout` string, required — The call will ring on each agent for the defined seconds before trying any other agent.
  - `sla_duration` string — This duration will be used to identify if the call was connected to the agent within the specified SLA or outside it.
  - `agent` string, required — Agent who gets connected and picks the inbound call.
  - `sticky_agent` boolean, required — Functionality to choose if same agent gets connected.
  - `sticky_time_format` string — Days or hours, mandatory field if sticky_time_format is 1. Valid values are 1 and 2. ['id' => '1', 'name' => 'HOURS', 'max' => 24], ['id' => '2', 'name' => 'DAYS', 'max' => 10]
  - `sticky_time_period` string — Duration of sticky_agent time in days, mandatory field if sticky_time_format is 1.
  - `callback_customer` boolean — Enabling this will callback customer at the same queue position if customer. has pressed the selected dtmf before call hangup
  - `callback_threshold_time` string — Time after which the callback can be activated, mandatory field if callback_customer is 1.
  - `callback_dtmf` string — DTMF for enabling queue callback, mandatory field if callback_customer is 1, valid values are 0-9
  - `callback_threshold_recording` string — Id of recording to be played to customer after callback threshold is reached,mandatory field if callback_customer is 1
  - `call_hangup_recording` string — Recording to be played to customer on hangup after activating callback.

## Response `200`

200

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.net/acefone/apis/servetel-base-api-config.md) · [All operations](https://skmtc.net/acefone/apis/servetel-base-api-config/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/acefone/servetel-base-api-config/versions/ca83a6f08f7f/schema)
