---
title: "Invite User"
method: POST
path: "/users"
tags: ["Users"]
---

# Invite User

`POST /users`

## Request

- Base URL: `https://api.crowdin.com/api/v2`
- URL: `https://api.crowdin.com/api/v2/users`
- Auth: none declared
- TypeScript: <https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/docs/users/post.ts> (a function with typed inputs; its response is checked against the schema)

**Required scopes:** `user` (Read and Write).

## Request body

- EnterpriseUserCreateModel
  - `email` string, required: Invited user email
  - `firstName` string: Invited user first name
  - `lastName` string: Invited user last name
  - `timezone` string: Invited user timezone
  - `adminAccess` boolean: Grant admin access to an organization

## Response `201`

User was successfully invited

- UserResource: Base schema of resource container. Container is a wrapper object that contains payload in required `data` property and provides space for adding any other metadata.
  - `data` EnterpriseUserAdminContextResponseModel, required
    - `id` integer: User Identifier
    - `username` string
    - `firstName` string, nullable: First Name
    - `lastName` string, nullable: Last Name
    - `avatarUrl` string: User Avatar
    - `fields` EnterpriseAdditionalFields: Fields. Keys get via [List Fields](#operation/api.fields.getMany)
    - `isAdmin` boolean
    - `status` 'active' | 'pending' | 'blocked': User Status
    - `createdAt` string, date-time
    - `lastSeen` string, date-time, nullable
    - `email` string
    - `emailVerified` boolean
    - `twoFactor` 'enabled' | 'disabled'
    - `timezone` string, nullable
    - `joinDetails` object, nullable
      - `type` string
      - `invitedBy` object, nullable
        - `id` integer
        - `username` string
        - `fullName` string
        - `avatarUrl` string
    - `deviceVerification` 'enabled' | 'disabled'
    - `trustedDevicesCount` integer
    - `apiTokensCount` integer
    - `loginMethods` string[]
    - `mfaMethods` string[]

## Other responses

- `400`: Invalid Request Parameters
- `401`: Unauthorized
- `403`: Forbidden
- `404`: User with specified id was not found
- `405`: Method Not Allowed
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2.md) - [All operations](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/revisions/dc68744c5384?raw)
