---
title: "List attached organizations"
method: GET
path: "/api/public/billing-accounts/{billingAccountId}/organizations"
tags: ["Billing accounts"]
---

# List attached organizations

`GET /api/public/billing-accounts/{billingAccountId}/organizations`

## Request

- Base URL: `https://charts.basedash.com`
- URL: `https://charts.basedash.com/api/public/billing-accounts/{billingAccountId}/organizations`
- Auth: HTTP bearer

Lists organizations attached to the billing account. Requires admin access to the account's owner organization.

## Path parameters

- `billingAccountId` string, required: Billing account ID

## Query parameters

- `limit` integer: Maximum number of items to return (1-100, default 50)
- `cursor` string: Cursor for pagination (ID of the last item from previous page)

## Response `200`

Attached organizations retrieved successfully

- object
  - `data` PublicBillingAccountOrganization[], required
    - `id` string, required: Organization ID
    - `name` string, required: Name of the organization
    - `slug` string, required: URL-friendly slug
    - `isBillable` boolean, required: Whether the organization counts toward the billing account platform fee quantity
    - `attachedIsSelf` boolean: Whether this organization is the billing account owner organization
    - `createdAt` string, required: Creation timestamp
  - `pagination` PaginationMeta, required
    - `nextCursor` string, nullable, required: Cursor for the next page (null if no more pages)
    - `hasMore` boolean, required: Whether there are more items after this page

## Other responses

- `401`: Unauthorized - Missing or invalid API key
- `404`: Not found - Billing account not found or no admin access
- `429`: Rate limit exceeded - Too many requests
- `500`: Internal server error

---

[API](https://skmtc.dev/basedash/apis/basedash-public-api.md) - [All operations](https://skmtc.dev/basedash/apis/basedash-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/basedash/apis/basedash-public-api/revisions/efb9d40bc6f7?raw)
