***

title: Accounts
slug: /reference/python/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/python/rest/client

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

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

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

[update]: /docs/server-sdks/reference/python/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.

```python {9}
from signalwire.rest import RestClient

client = RestClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
)

accounts = client.compat.accounts.list()
```

## **Methods**

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

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

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

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