---
title: "Create a sub-account"
method: POST
path: "/sub-accounts"
---

# Create a sub-account

`POST /sub-accounts`

## Request

- Base URL: `https://app.fullenrich.com/api/v2`
- URL: `https://app.fullenrich.com/api/v2/sub-accounts`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/fullenrich/apis/fullenrich-api-documentation/docs/sub-accounts/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a sub-account in the workspace associated with the API key. This workspace-level management request must not include the Sub-Account-ID header.

## Request body

- CreateSubAccountRequest
  - `name` string, required: A unique name for the sub-account. Leading and trailing whitespace is removed before storage.

## Response `201`

Created

- SubAccount
  - `id` string, uuid, required: The sub-account ID. Use this value in the Sub-Account-ID header for scoped API calls.
  - `workspace_id` string, uuid, required: The ID of the workspace that owns the sub-account.
  - `name` string, required: The sub-account name.
  - `archived` boolean, required: Whether the sub-account is archived.
  - `created_at` string, date-time, required: When the sub-account was created.
  - `updated_at` string, date-time, required: When the sub-account was last updated.

## Other responses

- `400`: Invalid request body or sub-account name
- `401`: Unauthorized
- `403`: Sub-account management requires the direct workspace scope
- `409`: A sub-account with this name already exists
- `429`: Too Many Requests

## Changes

- **2026-11-05** `9e5fe5ba0794`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fullenrich/apis/fullenrich-api-documentation/changes/sub-accounts/post.md)

---

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