Department endpoint enable us to get the department related information and make some updates to the account departments.
ATTRIBUTE | TYPE | DESCRIPTION |
count | Integer | Represents the number of records exists |
data | JSON object | Information about the department which contains the details as id,name,status and users. |
users | JSON Array Object | Specify the User details which includes firstname,lastname,id,type,status,name,email,phone,photo,language |
To request a department endpoint you will need a valid API Key with the department access permissions enabled.
A department may have many users.