---
title: "Get user"
method: GET
path: "/v1/users/{userId}"
tags: ["Accounts and users"]
---

# Get user

`GET /v1/users/{userId}`

## Request

- Base URL: `https://yourbaseurl.talon.one`
- URL: `https://yourbaseurl.talon.one/v1/users/{userId}`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/talon/apis/management-api/docs/v1/users/:userId/get.ts> (a function with typed inputs; its response is checked against the schema)

> [!note] Management API endpoints are **not** meant to be used in real-time integrations that directly serve your end users. Rate limit: 3 requests per second.

Retrieve the data (including an invitation code) for a user. Non-admin users can only get their own profile.

## Path parameters

- `userId` integer, required

## Response `200`

OK

- User
  - `id` integer, required: The internal ID of this entity.
  - `created` string, date-time, required: The time this entity was created.
  - `modified` string, date-time, required: The time this entity was last modified.
  - `email` string, email, required: The email address associated with the user profile.
  - `accountId` integer, required: The ID of the account that owns this entity.
  - `name` string, required: Name of the user.
  - `state` 'invited' | 'active' | 'deactivated', required: State of the user.
  - `inviteToken` string, required: Invitation token of the user. **Note**: If the user has already accepted their invitation, this is `null`.
  - `isAdmin` boolean: Indicates whether the user is an `admin`.
  - `policy` object, required: Access level of the user.
  - `roles` integer[]: A list of the IDs of the roles assigned to the user.
  - `authMethod` string: Authentication method for this user.
  - `applicationNotificationSubscriptions` object: Application notifications that the user is subscribed to.
  - `lastSignedIn` string, date-time: Timestamp when the user last signed in to Talon.One.
  - `lastAccessed` string, date-time: Timestamp of the user's last activity after signing in to Talon.One.
  - `latestFeedTimestamp` string, date-time: Timestamp when the user was notified for feed.
  - `additionalAttributes` object: Additional user attributes, created and used by external identity providers.

---

[API](https://skmtc.dev/talon/apis/management-api.md) - [All operations](https://skmtc.dev/talon/apis/management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talon/apis/management-api/revisions/7ef1b9504c3a?raw)
