Create Unit

Prev Next
Post
/api/v1/livechat/units
Premium tag

Create a unit to group departments. Permission required: manage-livechat-units

Version Description
4.2.0 Added
Header parameters
X-Auth-Token
stringRequired

The authToken of the authenticated user.

ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired

The userId of the authenticated user.

ExamplerbAXPnMktTFbNpwtJ
Body parameters
Collapse all
object
unitData
object Required

The object containing the unit information.

name
string Required

The name of the unit that you are creating.

Exampleunitxx2
visibility
string Required

The visibility of the unit. For example, public or private.

unitMonitors
Array of object Required

The object containing the unit monitors information.

object
unitDepartments
Array of object Required

The object containing the department information.

object
Responses
200
400
401
403
object
name
string
visibility
string
type
string
numMonitors
integer
numDepartments
integer
_updatedAt
string
_id
string
success
boolean
Tags