List team members

People in your CharlieHR account with office, team, line manager and start date.

GET https://cotlet.dev/api/v1/charliehr/team-members

read

Lists team members the signed-in role can see, by name. status active returns current people and archived returns offboarded ones. office and team filter by name. Each item has the member id other tools take. Salary and bank details are never returned.

Parameters

Parameters: list_team_members
NameTypeDescription
status string string active (default) or archived
office string string Office name
team string string Team name
query string string Part of the name

Request

cURL
curl https://cotlet.dev/api/v1/charliehr/team-members \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("charliehr", "list_team_members")
Node.js
const result = await cotlet.call('charliehr', 'list_team_members');
CLI
cotlet call charliehr list_team_members

Example response

JSON

{
  "members": [
    {
      "member_id": "tm_31c9e4",
      "name": "Ana Lopez",
      "job_title": "Support Agent",
      "office": "London",
      "team": "Support",
      "line_manager": "Maya Cole",
      "start_date": "2023-03-06",
      "role": "Member"
    },
    {
      "member_id": "tm_7d20ab",
      "name": "Daniel Kim",
      "job_title": "Account Executive",
      "office": "London",
      "team": "Sales",
      "line_manager": "Maya Cole",
      "start_date": "2022-09-12",
      "role": "Member"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.