---
title: "Invite a new sub-account"
method: POST
path: "/api/v2/subaccounts"
tags: ["User Subaccounts"]
---

# Invite a new sub-account

`POST /api/v2/subaccounts`

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Sub-Accounts/inviteSubaccount" target="_blank">Try in sandbox</a><br>

## Request body

- object
  - `email` string, email, required — The invitation email will be sent to this email address.
  - `role` 'A' | 'U', required — Type of account: * **A** for Administrator sub-account; * **U** for Regular User.

## Response `204`

Request executed with success.

## Other responses

- `400` — Bad request.
- `401` — Unauthorized request.
- `404` — Request data not found.

---

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