curl --request GET \ --url https://api.atendai.com/api/departments/{departmentId} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "name": "<string>", "color": "<string>", "companyId": "<string>", "createdAt": "<string>", "updatedAt": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the department to retrieve
Successful response
The response is of type object.
object