***

title: Accounts
slug: /reference/typescript/rest/compat/accounts
description: Manage accounts and subprojects via the Compat API.
max-toc-depth: 3
---------------------

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

[restclient]: /docs/server-sdks/reference/typescript/rest/client

[list]: /docs/server-sdks/reference/typescript/rest/compat/accounts/list

[create]: /docs/server-sdks/reference/typescript/rest/compat/accounts/create

[get]: /docs/server-sdks/reference/typescript/rest/compat/accounts/get

[update]: /docs/server-sdks/reference/typescript/rest/compat/accounts/update

Manage accounts and subprojects. The base path is
`/api/laml/2010-04-01/Accounts` (not scoped to a specific account SID).

Access via `client.compat.accounts` on a [`RestClient`][restclient] instance.

```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 accounts = await client.compat.accounts.list();
```

## **Methods**

<CardGroup cols={3}>
  <Card title="list" href="/docs/server-sdks/reference/typescript/rest/compat/accounts/list">
    List accounts in the project.
  </Card>

  <Card title="create" href="/docs/server-sdks/reference/typescript/rest/compat/accounts/create">
    Create a new subproject (sub-account).
  </Card>

  <Card title="get" href="/docs/server-sdks/reference/typescript/rest/compat/accounts/get">
    Retrieve a single account by SID.
  </Card>

  <Card title="update" href="/docs/server-sdks/reference/typescript/rest/compat/accounts/update">
    Update an account.
  </Card>
</CardGroup>