---
title: "Invite Company User"
method: POST
path: "/api/companies/{company_uuid}/users"
tags: ["company-users"]
---

# Invite Company User

`POST /api/companies/{company_uuid}/users`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/companies/{company_uuid}/users`
- Auth: HTTP bearer

## Path parameters

- `company_uuid` string, uuid, required

## Headers

- `X-Teamspace-Uuid` string, uuid, nullable
- `X-User-Email` string, nullable
- `X-User-Name` string, nullable

## Request body

- UserCreate: Temporary Cognito password is always generated server-side.
  - `name` string, required
  - `email` string, email, required
  - `phone_number` string, nullable
  - `company_uuid` string, uuid4
  - `temporary_avatar_filename` string, nullable
  - `status` string
  - `invitation_email_type` 'welcome' | 'setup'
  - `permission_profile_id` string, uuid4, nullable
  - `is_super_admin` boolean, nullable

## Response `201`

Successful Response

- UserBase
  - `uuid` string, uuid4, required
  - `name` string, required
  - `phone_number` string, nullable
  - `email` string, email, required
  - `avatar_file_name` string, nullable
  - `ui_language` 'en' | 'pt' | 'es', nullable
  - `avatar_url` string, nullable, required: Get the avatar URL based on the filename if one exists

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/regdoor/apis/regdoor-api.md) - [All operations](https://skmtc.dev/regdoor/apis/regdoor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/regdoor/apis/regdoor-api/revisions/7642336631af?raw)
