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

# Get user

`GET /v2/users/{user_id}`

## Request

- Base URL: `https://api.hubstaff.com`
- URL: `https://api.hubstaff.com/v2/users/{user_id}`
- Auth: OAuth 2
  - Authorization code: `https://account.hubstaff.com/authorizations/new`
  - Token URL: `https://account.hubstaff.com/access_tokens` scopes: `hubstaff:read`, `hubstaff:write`
- TypeScript: <https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/docs/v2/users/:user_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the user with the given ID.

## Path parameters

- `user_id` integer, required

## Response `200`

A user

- object
  - `user` User: User model
    - `id` integer, required: User ID
    - `name` string, required: User full name
    - `first_name` string, required: User first name
    - `last_name` string, required: User last name
    - `email` string: User email address
    - `time_zone` string, required: User time zone
    - `ip_address` string, required: User last IP address
    - `status` string, required: User status
    - `created_at` string, date-time, required: When the record was created
    - `updated_at` string, date-time, required: When the record was last updated

## Other responses

- `400`: Invalid parameters
- `401`: Unauthorized
- `403`: API access is only for organizations on an active plan
- `404`: Could not find record
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api.md) - [All operations](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/revisions/c6b90e4e4bdc?raw)
