---
title: "Create Account"
method: POST
path: "/organizations/account-groups/{account_group_id}/accounts"
---

# Create Account

`POST /organizations/account-groups/{account_group_id}/accounts`

## Request

- Base URL: `https://api-sandbox.y.uno/v1`
- URL: `https://api-sandbox.y.uno/v1/organizations/account-groups/{account_group_id}/accounts`
- Auth: API key in header `PUBLIC-API-KEY` and API key in header `PRIVATE-SECRET-KEY`
- TypeScript: <https://skmtc.dev/y/apis/ai-caller/docs/organizations/account-groups/:account_group_id/accounts/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new account under an account_group_id.

## Path parameters

- `account_group_id` string, uuid, required

## Request body

- object
  - `name` string, required: Account name (min=1, max=255).

## Response `201`

Created

- object
  - `id` string, uuid
  - `name` string
  - `account_group_id` string, uuid
  - `created_at` string, date-time
  - `updated_at` string, date-time

---

[API](https://skmtc.dev/y/apis/ai-caller.md) - [All operations](https://skmtc.dev/y/apis/ai-caller/llms.txt) - [OpenAPI document](https://skmtc.dev/y/apis/ai-caller/revisions/05b629819b49?raw)
