> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequenzy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Accounts

> List the accounts (organizations) in your workspace

# List Accounts

Lists accounts with search, paging and sorting. Accounts are the companies, workspaces or teams your contacts belong to. See [Accounts](/concepts/accounts).

## Request

<ParamField query="search" type="string">
  Matches name, external ID and domain.
</ParamField>

<ParamField query="page" type="number" default="1">
  Page number.
</ParamField>

<ParamField query="limit" type="number" default="25">
  Results per page, maximum 100.
</ParamField>

<ParamField query="sort" type="string" default="updatedAt">
  One of `updatedAt`, `createdAt`, `name`, `memberCount`, `lastEventAt`.
</ParamField>

<ParamField query="order" type="string" default="desc">
  `asc` or `desc`.
</ParamField>

```bash theme={null}
curl "https://api.sequenzy.com/api/v1/accounts?search=acme&sort=memberCount&order=desc" \
  -H "Authorization: Bearer API_KEY"
```

## Responses

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "accounts": [
      {
        "id": "acc_abc123",
        "externalId": "org_123",
        "name": "Acme",
        "domain": "acme.com",
        "attributes": { "plan": "pro", "seats": 5 },
        "memberCount": 6,
        "lastEventAt": "2026-09-04T09:00:00.000Z",
        "createdAt": "2026-08-01T10:00:00.000Z",
        "updatedAt": "2026-09-04T09:00:00.000Z"
      }
    ],
    "total": 1,
    "page": 1,
    "limit": 25,
    "hasMore": false
  }
  ```

  ```json 401 theme={null}
  { "success": false, "error": "Unauthorized" }
  ```

  ```json 403 theme={null}
  { "success": false, "error": "No company selected" }
  ```
</ResponseExample>
