---
title: "Create a user"
method: POST
path: "/settings/users/2026-09"
tags: ["Basic"]
---

# Create a user

`POST /settings/users/2026-09`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/settings/users/2026-09`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `settings.users.write`
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `crm.objects.users.write`

Create a new user in your HubSpot account using the specified details. This endpoint requires a JSON request body with user information such as email, first name, last name, role, and seats. A welcome email can be optionally sent to the new user.

## Request body

- UserProvisionRequest
  - `email` string, required: The email address of the user being provisioned. This is a required field and must be unique.
  - `firstName` string: The first name of the user.
  - `lastName` string: The last name of the user.
  - `primaryTeamId` string: The identifier for the primary team to which the user belongs.
  - `roleId` string: The identifier for the role assigned to the user.
  - `seatNames` string[]: An array of seat names assigned to the user, representing different permissions or access levels.
  - `secondaryTeamIds` string[]: An array of identifiers for secondary teams to which the user is associated.
  - `sendWelcomeEmail` boolean, required: A boolean indicating whether a welcome email should be sent to the user upon provisioning. This is a required field.

## Response `201`

successful operation

- PublicUser
  - `email` string, required: The email address of the user. This is a required field and must be unique.
  - `firstName` string: The first name of the user, represented as a string.
  - `id` string, required: The unique identifier for the user, represented as a string.
  - `lastName` string: The last name of the user, represented as a string.
  - `primaryTeamId` string: The ID of the primary team to which the user belongs, represented as a string.
  - `roleId` string: A string representing a single role ID assigned to the user.
  - `roleIds` string[], required: An array of strings representing the IDs of the roles assigned to the user. This is a required field.
  - `seatNames` string[]: An array of strings representing the names of seats assigned to the user.
  - `secondaryTeamIds` string[]: An array of strings representing the IDs of secondary teams to which the user is associated.
  - `sendWelcomeEmail` boolean: A boolean indicating whether a welcome email should be sent to the user.
  - `superAdmin` boolean, required: A boolean indicating whether the user has super admin privileges. This is a required field.

## Other responses

- `default`: An error occurred.

## Changes

- **2026-10-13** (2026-09) `9aa42e094343`: 2 info
  - the security scope `settings.users.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `crm.objects.users.write` was removed from the endpoint's security scheme `oauth2`
- **2026-10-10** (2026-09) `1ec62479c06a`: 2 info
  - the security scope `crm.objects.users.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `settings.users.write` was removed from the endpoint's security scheme `oauth2`
- **2026-09-22** (2026-09) `1ec62479c06a`: 2 info
  - the security scope `crm.objects.users.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `settings.users.write` was removed from the endpoint's security scheme `oauth2`

[Operation history](https://skmtc.dev/hubspot/apis/settings-user-provisioning/changes/settings/users/2026-09/post.md)

---

[API](https://skmtc.dev/hubspot/apis/settings-user-provisioning.md) - [All operations](https://skmtc.dev/hubspot/apis/settings-user-provisioning/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/settings-user-provisioning/revisions/9aa42e094343?raw)
