v1

latestOpenAPI 3.1.02026-07-241360148.9 KB

Create a department

This API allows you to create a new department.

post/v1/department

Headers

Authorizationstring required

Request body

namestring required

The name of the department. For example, Counselling.

descriptionstring required

The description of the department.For example, Department without queue.

ring_strategystring required

When a customer dials an extension, there are several strategies that can be devised to distribute the calls as per the availability and the number of agents.

failover_dest_typestring required

The type of destination where the call should be landed if no one answers the call, for example, hangup.

timeoutinteger[]

The time in seconds for which the call tries to connect for each agent in this department. For example, 4.

destinationstring[]

The unique id of the destination where the call will be land. For example, extension||eid.

timeout_destinationstring

Response

200

object required