List colleagues

Search the Who is who list by name or team.

GET https://cotlet.dev/api/v1/officient/colleagues

read

Returns the people Who is who shows, with team, role and contact details. Without a filter it returns the whole company. Use person_id values from here in other calls.

Parameters

Parameters: list_colleagues
NameTypeDescription
query string string Part of a name.
team string string Team name as shown in Who is who.

Request

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

Example response

JSON

{
  "colleagues": [
    {
      "person_id": "10045868",
      "name": "Lena Maes",
      "team": "Design",
      "role": "Product designer",
      "email": "lena.maes@example.com",
      "phone": "+32 470 00 00 01"
    },
    {
      "person_id": "10045871",
      "name": "Tom De Smet",
      "team": "Design",
      "role": "Illustrator",
      "email": "tom.desmet@example.com",
      "phone": "+32 470 00 00 02"
    }
  ]
}

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.