Department model

Details on every Department Object field
Written by Konstantine
Updated 7 months ago

Departments API allows you to get all your departments.

Here's the example response for the Departments API methods:

{
  "data": [
    {
      "id": 542335,
      "name": "string",
      "agents": [
        {
              "id": 6668,
              "name": "Ali",
              "email": "[email protected]",
              "role": "admin"
        }
      ]
    }
  ],
  "meta": {
    "total": 0
  }
}

Below you can find details on each of the Department Object fields.

Field Type Description
id Integer Unique id of the department provided by HelpCrunch
name String Department name
agents Array of agent objects Array of Agent Objects

If you have any questions regarding the REST API, feel free to chat us any time.

👩‍💻 Happy Coding! 👨‍💻

 

Did this answer your question?