---
title: "Get user record"
method: GET
path: "/user/{userID}"
tags: ["user"]
---

# Get user record

`GET /user/{userID}`

## Request

- Base URL: `https://api.zerotier.com/api/v1`
- URL: `https://api.zerotier.com/api/v1/user/{userID}`
- Auth: HTTP token

## Path parameters

- `userID` string, required

## Response `200`

User get success

- User
  - `id` string: User ID
  - `orgId` string: Organization ID
  - `globalPermissions` Permissions
    - `a` boolean: Authorize permission
    - `d` boolean: Delete permission
    - `m` boolean: Modify network settings permission
    - `r` boolean: Read network settings permission
  - `displayName` string: Display Name
  - `email` string: User email address
  - `auth` AuthMethods
    - `local` string, nullable: email address for built-in authentication
    - `google` string, nullable: Google OIDC ID
    - `oidc` string, nullable: Generic OIDC ID
  - `smsNumber` string: SMS number
  - `tokens` string[]: List of API token names.

## Other responses

- `401`: Authorization required
- `403`: Access denied
- `404`: Item not found

---

[API](https://skmtc.dev/zerotier/apis/zerotier-legacy-central-api.md) - [All operations](https://skmtc.dev/zerotier/apis/zerotier-legacy-central-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zerotier/apis/zerotier-legacy-central-api/revisions/80c9c5bfd0a4?raw)
