List employees

List the people of a unit or section with their status and badge number.

GET https://cotlet.dev/api/v1/quinyx/employees

read

Returns employee_id, name, badge number, status and home unit. Passive employees are left out by default because Quinyx cannot assign a shift to them. The list shows only people your roles let you see.

Parameters

Parameters: list_employees
NameTypeDescription
group_id string string Unit or section id from list_groups. Defaults to your home unit.
query string string Part of a name or a badge number.
include_passive boolean boolean Include employees with the Passive status. Default false.

Request

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

Example response

JSON

{
  "employees": [
    {
      "employee_id": "3011",
      "name": "Tom Becker",
      "badge_number": "2041",
      "status": "active",
      "home_unit": "Harbor Cafe"
    },
    {
      "employee_id": "3027",
      "name": "Maria Silva",
      "badge_number": "2058",
      "status": "active",
      "home_unit": "Harbor Cafe"
    }
  ]
}

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.