---
title: "Get user"
method: GET
path: "/users/{id}"
tags: ["Users"]
---

# Get user

`GET /users/{id}`

Retrieve a user by ID or client key

## Path parameters

- `id` string, required

## Query parameters

- `by` 'id' | 'key'

## Response `200`

Successful response

- User
  - `object` 'USER' — Object type identifier
  - `id` string, uuid, required — Unique user identifier
  - `email` string, email, required — User's email address
  - `name` string, nullable — User's full name
  - `phone` string, nullable — User's phone number
  - `phoneExt` string, nullable — Phone extension
  - `status` 'PENDING' | 'ACTIVE' | 'INACTIVE', required — User account status: - `PENDING`: User invited but has not completed onboarding - `ACTIVE`: User account is active and can access the system - `INACTIVE`: User account is deactivated
  - `roles` UserRole[], required — User's roles within the organization
  - `key` string, nullable — Client-defined reference identifier for this user
  - `datUsername` string, nullable — DAT (Load Board) integration username
  - `mcpUsername` string, nullable — MyCarrierPortal integration username
  - `avatarId` string, uuid, nullable — Profile avatar document ID
  - `teams` TeamReference[] — Teams this user belongs to
    - `object` 'TEAM' — Object type identifier
    - `id` string, uuid, required — Unique team identifier
    - `name` string, required — Team name
    - `key` string, nullable — Client-defined reference identifier for this team
    - `createdAt` string, date-time, required — Timestamp when team was created
    - `updatedAt` string, date-time, required — Timestamp when team was last updated
    - `deletedAt` string, date-time, nullable — Timestamp when team was soft-deleted (null if active)
  - `createdAt` string, date-time, required — Timestamp when user was created
  - `updatedAt` string, date-time, required — Timestamp when user was last updated
  - `deletedAt` string, date-time, nullable — Timestamp when user was soft-deleted (null if active)

## Other responses

- `401` — Unauthorized - invalid or missing access token
- `404` — Resource not found
- `429` — Rate limit exceeded

---

[API](https://skmtc.net/mvmnt/apis/mvmnt-api.md) · [All operations](https://skmtc.net/mvmnt/apis/mvmnt-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mvmnt/mvmnt-api/revisions/c44e5e7a4256/schema)
