v1

latestOpenAPI 3.0.02026-07-14800227.2 KB
User accounts

Return a list of users.

This endpoint returns an array of objects with the existing employees in Kenjo. Every object contains the basic employee information from account, personal and work sections per each existing employee.

get/user-accounts

Headers

Authorizationstring required
Example:Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL2FwaS5rZW5qby5pbyIsInN1YiI6IjYwZjBhOTE2MjE0OTg3MjU2YmU5YzhmZiIsImF1ZCI6Imh0dHBzOi8vYXBpLmtlbmpvLmlvIiwiaWF0IjoxNjI2Mzg1MTE1LCJuYmYiOjE2MjYzODUxMTUsImV4cCI6MTYyNjU1NzkxNSwiYWNjZXNzVHlwZSI6IkFwaUFjY2VzcyIsInNfb3JnSWQiOiI2MGYwNGVhN2RmN2JhMjFlY2U0YmYzYzIifQ.cxG_7dIS-VbmDXdJuLkekoyuyCIzQG2fMcgc0nkfbWE8cihhcb5FnALbQkjU9b5-qVcEoMHZlSuUA-jMEBMMVQ

A valid bearer token.

Response

OK

_idstring

The Kenjo employee _id.

emailstring

The employee email in Kenjo.

isActivestring

Indicates the active status of the Kenjo employee.

firstNamestring

The first name of the Kenjo employee.

lastNamestring

The last name of the Kenjo employee.

displayNamestring

The complete name of the Kenjo employee.

companyIdstring

The Kenjo Id of the company for this employee.

officeIdstring

The Kenjo Id of the office for this employee.

departmentIdstring

The Kenjo Id of the department for this employee.

jobTitlestring

The job title for this employee.

Example response

[
  {
    "_id": "80a2db290da29e126a18789a",
    "email": "john@acme.io",
    "isActive": true,
    "firstName": "John",
    "lastName": "Doo",
    "displayName": "John Doo",
    "companyId": "82a2db290da29e126a18789a",
    "officeId": "83a2db290da29e126a18789a",
    "departmentId": "84a2db290da29e126a18789a",
    "jobTitle": "84a2db290da29e126a18789a"
  },
  {
    "_id": "80a2db290da29e126a18789b",
    "email": "anna@acme.io",
    "isActive": true,
    "firstName": "Anna",
    "lastName": "Kaleshnikova",
    "displayName": "Anna Kaleshnikova",
    "companyId": "82a2db290da29e126a18789a",
    "officeId": "83a2db290da29e126a18789a",
    "departmentId": "84a2db290da29e126a18789a",
    "jobTitle": "84a2db290da29e126a18789a"
  },
  {
    "_id": "80a2db290da29e126a18789c",
    "email": "joaquin@acme.io",
    "isActive": true,
    "firstName": "Joaquin",
    "lastName": "Padrazo",
    "displayName": "Joaquin Padrazo",
    "companyId": "82a2db290da29e126a18789a",
    "officeId": "83a2db290da29e126a18789a",
    "departmentId": "84a2db290da29e126a18789a",
    "jobTitle": "84a2db290da29e126a18789a"
  }
]