Departments Endpoint

Obtain a list of departments for your account.

GET //developer.livehelpnow.net/api/departments

Query Params

Name Expected Type Description
active optional boolean Will allow you to optionally select only active or deactive departments
system optional string("chat", "ticket", "callback") This will allow you to return the stats of a particular system
include_unassigned optional boolean This will allow you include stats for unassigned chats, tickets, or callbacks
my_department_only optional boolean This will allow you include stats for operatoeds department only

Result

{
 "status": "ok",
 "payload": [{
  "stats": {
   "total_chats": 0,
   "active_chats": 0
  },
   "department_name": "Help \"Desk\"",
   "department_id": 1,
   "department_email": "communicator@livehelpnow.com",
   "department_description": "Main Help Desk"
 }]
}

total_chats integer The total chats
active_chats integer The active_chats
department_id integer The LiveHelpNow department identifier
department_name string The custom name of the department
department_description string The custom description of the department
department_email string The email associated with the department