Get role count

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

This API fetches the number of roles configured in your help desk.

OAuth Scope

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

Request Params

KeyDatatypeRequiredDescription
isVisiblestringKey that filters roles according to their visibility in the UI
isDefaultstringKey that denotes whether the roles must be default roles or custom roles

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"count":5}