API Reference
Log In
API Reference

Count the people in each department

Returns every active department of the supplied team, or of your own team when teamId is omitted, with the number of people whose primary department it is right now. A department with nobody is returned with a count of zero, and people in its sub-departments are not counted towards it.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

ID of the team that owns this data. Optional; defaults to your own team.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*