---
title: "Create Child"
method: POST
path: "/api/v1/orgs/children"
---

# Create Child

`POST /api/v1/orgs/children`

## Request

- Base URL: `https://api.mesharc.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mesharc.dev/api/v1/orgs/children`
- Auth: none declared

A sub-account: a workspace of its own for one of your customers, on
this workspace's plan and spending its credits. `Idempotency-Key` makes
a retry return the first answer instead of a second workspace.

## Headers

- `authorization` string, nullable
- `x-mesharc-tenant` string, nullable

## Request body

- SubAccountRequest
  - `name` string, required
  - `monthlyCap` integer, nullable
  - `externalId` string, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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