Get department count

GET {{baseUrl}}/api/v1/departments/count

This API returns the number of departments configured in your help desk portal.

OAuth Scope

  • Desk.settings.READ
  • Desk.basic.READ

Request Params

KeyDatatypeRequiredDescription
isEnabledstringKey that filters departments based on their enabled status

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"count":5}