---
title: "Get User Details by ID"
method: GET
path: "/public/v1/users/{user_id}"
tags: ["User and Workspace management"]
---

# Get User Details by ID

`GET /public/v1/users/{user_id}`

## Request

- Base URL: `https://api.pandadoc.com`
- URL: `https://api.pandadoc.com/public/v1/users/{user_id}`
- Auth: one of:
  - API key in header `Authorization`
  - OAuth 2
    - Authorization code: `https://app.pandadoc.com/oauth2/authorize`
    - Token URL: `https://api.pandadoc.com/oauth2/access_token`
- TypeScript: <https://skmtc.dev/pandadoc/apis/pandadoc-public-api/docs/public/v1/users/:user_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get detailed information about a specific user by their ID, including contact information, license type, and workspace roles.

You must be an organization admin to get user details.

## Path parameters

- `user_id` string, required

## Response `200`

User details.

- GetUserResponse
  - `user_id` string: A unique identifier of the user in the organization.
  - `email` string: A user's email address.
  - `first_name` string: A user's first name.
  - `last_name` string: A user's last name.
  - `phone_number` string: A user's phone number.
  - `license` string: A user's license in the organization.
  - `is_organization_owner` boolean: Whether the user is the owner of the organization.
  - `workspaces` object[]
    - `role` 'Admin' | 'Manager' | 'Member' | 'Collaborator': Role for a member.
    - `workspace_id` string: A user's workspace.
    - `membership_id` string: A user's membership id in workspace.

## Other responses

- `401`: Authentication error
- `403`: Permission error
- `404`: Not found
- `429`: Too Many Requests

---

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