---
title: "Invite a User to the Account"
method: POST
path: "/accounts/{account}/actions/invite"
tags: ["users"]
---

# Invite a User to the Account

`POST /accounts/{account}/actions/invite`

Invite the user to the account by adding it to the account teams and/or
creating access policies within the account.

If the user with a specified email does not exist - a new one will be created.
The new user will be in the 'pending' status until the first login to the account.

This is the preferred way to create users.

## Path parameters

- `account` string, required

## Query parameters

- `include` string[]

## Response `201`

Success.

## Other responses

- `403` — User unauthorized to perform this action.
- `404` — User, Account, not found.
- `422` — Invalid team or role.
- `4XX` — Client error.
- `5XX` — Server error.

---

[API](https://skmtc.net/scalr/apis/scalr-iacp-api.md) · [All operations](https://skmtc.net/scalr/apis/scalr-iacp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalr/scalr-iacp-api/revisions/fc927526ad12/schema)
