Get One Unit

Prev Next
Get
Deprecated
/api/v1/livechat/units.getOne
Premium tag
This endpoint has been renamed to Get a Unit from Rocket.Chat 5.0.
Header parameters
X-Auth-Token
stringRequired

The authToken of the authenticated user.

ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired

The userId of the authenticated user.

ExamplerbAXPnMktTFbNpwtJ
Query parameters
unitId
string

The unit ID.

Responses
200
object
_id
string
name
string
visibility
string
type
string
numMonitors
integer
numDepartments
integer
_updatedAt
string
success
boolean