---
title: "UserById (HubSpot)"
description: "User by ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/hubspot/UserProvisioning.Users.UserById
original: https://documentation.invantive.eu/en/datamodels/hubspot/UserProvisioning.Users.UserById
updated: 2026-05-19T15:51:43Z
license: https://documentation.invantive.eu/en/
---

# UserById: HubSpot User by ID

`read only` `REST`

- Catalog: `UserProvisioning`
- Schema: `Users`
- Label: User by ID

Retrieves a user
Retrieves a user identified by `userId`. `userId` refers to the user's ID by default, or optionally email as specified by the `IdProperty` query param.

Can only retrieve data.

## API Source

- Endpoint: `/settings/v3/users/{userId}`
- Operation: `get /settings/v3/users/{userId}`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `idProperty` | `` | [ ] |  | Values: EMAIL, USER_ID. |
| `userId` | `` | [x] |  |  |

## Table Columns

The columns of the table `UserById` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `email` | `varchar2` | Email | [ ] |  | The user's email. |
| `firstName` | `varchar2` | First Name | [ ] |  | The user's first name. |
| `id` | `varchar2` | ID | [ ] |  | The user's unique ID. |
| `lastName` | `varchar2` | Last Name | [ ] |  | The user's last name. |
| `primaryTeamId` | `varchar2` | Primary Team ID | [ ] |  | The user's primary team |
| `roleId` | `varchar2` | Role ID | [ ] |  | The user's role. |
| `sendWelcomeEmail` | `char` | itgen_hubspot_sendwelcomeemail | [ ] |  | Whether a welcome email was sent to the user. This value will only be populated in response to a provisioning request. Subsequent queries will be false. |
| `superAdmin` | `char` | itgen_hubspot_superadmin | [ ] |  | Whether the user has super admin privileges. |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [HubSpot](/en/release-notes/drivers/hubspot)

