GET
/
settings
/
v3
/
users
/
{userId}
Retrieves a user
curl --request GET \
  --url https://api.hubapi.com/settings/v3/users/{userId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "123",
  "email": "newUser@email.com",
  "roleId": "100",
  "primaryTeamId": "101",
  "secondaryTeamIds": [
    "102"
  ],
  "superAdmin": "false"
}
Supported products
Requires one of the following products or higher.
Marketing HubMarketing HubFree
Sales HubSales HubFree
Service HubService HubFree
Content HubContent HubFree

Required Scopes

This API requires one of the following scopes:
  • crm.objects.users.read
  • settings.users.read

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

userId
string
required

Identifier of user to retrieve

Query Parameters

idProperty
enum<string>

The name of a property with unique user values. Valid values are USER_ID(default) or EMAIL

Available options:
USER_ID,
EMAIL

Response

200
application/json

successful operation

A user