---
title: "Create a new subaccount for an entity"
method: POST
path: "/v1/{id}/accounts"
tags: ["Entity Endpoints"]
---

# Create a new subaccount for an entity

`POST /v1/{id}/accounts`

## Path parameters

- `id` string, required

## Request body

- EntityCreateSubAccountRequestDto
  - `name` string, required — The name associated with this subaccount

## Response `200`

- EntityCreateSubAccountResponseDto
  - `account` SubAccountDto, required
    - `id` string, required — The id of this subaccount
    - `type` 'default' | 'subAccount', required — The type of subaccount
    - `name` string, required — The name of the subaccount
    - `address` string, required — The onchain address for this subaccount
    - `ownerId` string, required — The id of the entity that owns this subaccount

---

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