Developers
Reference

Staff (directory)

Staff directory #

GET/api/public/v1/quosuite/hr/employees
Scope : hr:readlistEmployees

Professional identity, position, department and contract. No payroll, bank or personal data. Sensitive scope: never covered by *:read. Allowed sort: lastName, registrationNumber, hireDate, updatedAt (default lastName).

Parameters

  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar
  • pagenumberquery

    Page number (starting at 1).

  • pageSizenumberquery

    Items per page (100 at most).

  • sortstringquery

    Sort: comma-separated fields, - prefix for descending order. Allowed fields: see the route description. A final criterion on id makes pagination stable.

  • updatedSincestringquery

    Only returns items created or updated since this instant (ISO 8601, inclusive). With sort=updatedAt, this is the recommended form of an incremental sync.

  • statusstringquery
    ACTIVEON_LEAVESUSPENDEDTERMINATED
  • departmentstringquery
  • qstringquery

    Search in the name, the employee number and the position.

  • includeArchivedbooleanquery

Response 200application/json

Success.

  • itemsEmployeeDirectoryDto[]required
    EmployeeDirectoryDto details
  • paginationPaginationDtorequired
    PaginationDto details

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/hr/employees' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "c3681712-f4d8-4bbc-8f59-93875f5dab39",
        "registrationNumber": "MAT-0042",
        "firstName": "Sarra",
        "lastName": "Ben Ali",
        "position": "Comptable",
        "department": "Finance",
        "status": "ACTIVE",
        "contractType": "CDI",
        "workSchedule": "FULL_TIME",
        "hireDate": "2026-10-02",
        "exitDate": "2026-10-02",
        "managerId": "f04b6b0b-124c-43da-8e4b-9ed65bb477cd",
        "email": null,
        "phone": null,
        "archived": true,
        "updatedAt": "2026-10-02T09:15:00.000Z"
      }
    ],
    "pagination": {
      "page": 1,
      "pageSize": 25,
      "totalItems": 132,
      "totalPages": 6,
      "limit": 100,
      "nextCursor": "c1.eyJzIjoiZGF0ZTpkZXNjLGlkOmFzYyIsImYiOiJ…",
      "hasMore": true
    }
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Directory record of an employee #

GET/api/public/v1/quosuite/hr/employees/{id}
Scope : hr:readgetEmployee

Same projection as the list: nothing more is exposed in the detail.

Parameters

  • idstring (uuid)pathrequired
  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar

Response 200application/json

Success.

  • idstring (uuid)required
  • registrationNumberstringrequired
    e.g.MAT-0042
  • firstNamestringrequired
    e.g.Sarra
  • lastNamestringrequired
    e.g.Ben Ali
  • positionstring | null
    e.g.Comptable
  • departmentstring | null
    e.g.Finance
  • statusstringrequired
    valuesACTIVEON_LEAVESUSPENDEDTERMINATED
  • contractTypestringrequired
    valuesCDICDDINTERIMSTAGEAPPRENTISSAGEFREELANCEOTHER
  • workSchedulestringrequired
    valuesFULL_TIMEPART_TIME
  • hireDatestring | null
  • exitDatestring | null
  • managerIdstring (uuid) | null
  • emailstring | null

    Professional contact detail.

  • phonestring | null

    Professional contact detail.

  • archivedbooleanrequired
  • updatedAtstringrequired

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/hr/employees/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "id": "c3681712-f4d8-4bbc-8f59-93875f5dab39",
    "registrationNumber": "MAT-0042",
    "firstName": "Sarra",
    "lastName": "Ben Ali",
    "position": "Comptable",
    "department": "Finance",
    "status": "ACTIVE",
    "contractType": "CDI",
    "workSchedule": "FULL_TIME",
    "hireDate": "2026-10-02",
    "exitDate": "2026-10-02",
    "managerId": "f04b6b0b-124c-43da-8e4b-9ed65bb477cd",
    "email": null,
    "phone": null,
    "archived": true,
    "updatedAt": "2026-10-02T09:15:00.000Z"
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Generated from the QuoSuite API OpenAPI contract v1.0.0.