***

title: create
slug: /reference/typescript/rest/compat/accounts/create
description: Create a new subproject (sub-account).
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Create a new subproject (sub-account).

<EndpointSchemaSnippet endpoint="POST /Accounts" />

## **Response Example**

<EndpointResponseSnippet endpoint="POST /Accounts" />

## **Example**

```typescript {9}
import { RestClient } from "@signalwire/sdk";

const client = new RestClient({
  project: "your-project-id",
  token: "your-api-token",
  host: "your-space.signalwire.com",
});

const sub = await client.compat.accounts.create({ FriendlyName: "Marketing Team" });
```