---
title: "Create Account"
method: POST
path: "/admin/account"
tags: ["Admin"]
---

# Create Account

`POST /admin/account`

## Request body

- AccountRequest
  - `user` LegacyUserRequest
    - `name` string, nullable
    - `email` string, nullable
  - `scope` LegacyScopeRequest
    - `name` string, nullable
  - `subscription` LegacySubscriptionRequest
    - `plan` string, nullable

## Response `200`

Successful Response

- AccountResponse
  - `user` LegacyUserResponse
    - `id` string, uuid, nullable
  - `scopes` LegacyScopesResponse[], nullable
    - `organization_id` string, uuid, nullable
    - `organization_name` string, nullable
    - `workspace_id` string, uuid, nullable
    - `workspace_name` string, nullable
    - `project_id` string, uuid, nullable
    - `project_name` string, nullable
    - `is_demo` boolean, nullable
    - `user_role` string, nullable
    - `credentials` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-02-13** `72fe88316d15` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2025-06-27** `e3e84db47198` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/admin/account/post.md)

---

[API](https://skmtc.dev/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.dev/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/revisions/8fcd55a5a656/schema)
