---
title: "Get User Details"
method: GET
path: "/v1/user/{user_id}/"
tags: ["Users"]
---

# Get User Details

`GET /v1/user/{user_id}/`

Get worker profile.

The user must belong to the callee's company.

## Path parameters

- `user_id` integer, required

## Response `200`

Successful Response

- ApiGenericResponseUnifiedUserDetailModel
  - `error` boolean — A boolean error indicator.
  - `message` string, nullable — Optional message.
  - `data` UnifiedUserDetailModel — Full user model with all the details, including company-user details
    - `id` integer, required — The user identifier
    - `firstName` string, nullable, required — The given name of a user.
    - `lastName` string, nullable, required — The family name of a user.
    - `email` string, required — The email of address of the user, the email should be unique.
    - `updatedAt` string, date-time, required
    - `createdAt` string, date-time, required
    - `phone` string, nullable, required — The default phone number of the user.
    - `phoneCell` string, nullable, required — The mobile phone number of the user.
    - `phoneWork` string, nullable, required — The work, or office phone number of the user.
    - `address` string, nullable, required — The address lines of the user.
    - `city` string, nullable, required — The city or municipality of the user.
    - `postalCode` string, nullable, required — The postal code, or zip code of the user.
    - `country` string, nullable, required — The country of the user.
    - `timezone` string, nullable — The timezone of the user.
    - `birthDate` string, date-time, nullable — The user's date of birth.
    - `industryId` integer, nullable — The industry identifier associated with this user.z
    - `tradeId` integer, nullable — The primary trade associated with this user.
    - `emergencyContact` string, nullable — The name of the emergency contact.
    - `emergencyContactPhone` string, nullable — The phone number of the emergency contact
    - `companyUser` CompanyUserDetailModel
      - `id` integer, required — The company user record ID.
      - `role` RoleModel, required — Represents a user role.
        - `id` integer, nullable — The role identifier
        - `name` string — What role the user has
        - `slug` string, required — URL-friendly version of the role
      - `isActive` boolean, required — Indicates that this user is active in the company.
      - `employeeId` string, nullable, required — An external employee ID so that it can be correlated with an external system.
      - `position` string, nullable, required — Optionally, specify the users position in the company.
      - `editTimer` boolean, required — Indicates if a user can edit timers that they have created.
      - `createTimer` boolean, required — Indicates if a user can create a time and log time.
      - `documentAccess` 'none' | 'read' | 'write', required — Company user access type enumeration.
      - `feedAccess` 'none' | 'read' | 'write', required — Company user access type enumeration.
      - `userId` integer, required — The associated user's ID.
      - `companyId` integer, required — The associated company's ID.

## Other responses

- `400` — Business Logic Error
- `403` — Permission Error
- `404` — Records Not Found
- `409` — Integrity Error or Data Conflict
- `422` — Validation Error

---

[API](https://skmtc.dev/salussafety/apis/salus-developer-api.md) · [All operations](https://skmtc.dev/salussafety/apis/salus-developer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/salussafety/salus-developer-api/revisions/ef065f44da25/schema)
