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

# List External Accounts

> Retrieve all linked bank accounts for a customer

## Method Signature

```typescript theme={null}
align.externalAccounts.list(
  customerId: string
): Promise<ExternalAccountListResponse>
```

## Example

```typescript theme={null}
const response = await align.externalAccounts.list(customerId);

for (const account of response.items) {
  console.log(`${account.id}: ${account.bank_name} (${account.account_type})`);
}
```

## Related Methods

<CardGroup cols={2}>
  <Card title="Create Account" icon="building" href="/docs/api/external-accounts/create">
    Link a new bank account
  </Card>
</CardGroup>
