---
title: "List organizations"
method: GET
path: "/organizations"
tags: ["Organizations"]
---

# List organizations

`GET /organizations`

When using a service token, returns the list of organizations the service token has access to. When using an OAuth token, returns the list of organizations the user has access to.
### Authorization
A   OAuth token must have at least one of the following   scopes in order to use this API endpoint:

**OAuth Scopes**

 | Resource | Scopes |
| :------- | :---------- |
| User | `read_organizations` |

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

Gets the organizations for the current user

- object
  - `current_page` integer, required — The current page number
  - `next_page` integer, required — The next page number
  - `next_page_url` string, required — The next page of results
  - `prev_page` integer, required — The previous page number
  - `prev_page_url` string, required — The previous page of results
  - `data` object[], required
    - `id` string, required — The ID for the organization
    - `name` string, required — The name of the organization
    - `billing_email` string, required — The billing email of the organization
    - `created_at` string, required — When the organization was created
    - `updated_at` string, required — When the organization was last updated
    - `plan` string, required — The billing plan of the organization
    - `valid_billing_info` boolean, required — Whether or not the organization's billing information is valid
    - `sso` boolean, required — Whether or not SSO is enabled on the organization
    - `sso_directory` boolean, required — Whether or not the organization uses an SSO directory
    - `single_tenancy` boolean, required — Whether or not the organization has single tenancy enabled
    - `managed_tenancy` boolean, required — Whether or not the organization has managed tenancy enabled
    - `has_past_due_invoices` boolean, required — Whether or not the organization has past due billing invoices
    - `database_count` integer, required — The number of databases in the organization
    - `sso_portal_url` string, required — The URL of the organization's SSO portal
    - `features` object, required — Features that can be enabled on the organization
    - `idp_managed_roles` boolean, required — Whether or not the IdP provider is be responsible for managing roles in PlanetScale
    - `invoice_budget_amount` number, required — The expected monthly budget for the organization
    - `keyspace_shard_limit` integer, required — The keyspace shard limit for the organization
    - `has_card` boolean, required — Whether or not the organization has a payment method on file
    - `payment_info_required` boolean, required — Whether or not the organization requires payment information

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2025-12-09** `d710019068fb` — 2 breaking
  - for the `query` request parameter `page`, the type/format was changed from `number`/`` to `integer`/``
  - for the `query` request parameter `per_page`, the type/format was changed from `number`/`` to `integer`/``

[Change history](https://skmtc.dev/planetscale/apis/planetscale-api/changes/organizations/get.md)

---

[API](https://skmtc.dev/planetscale/apis/planetscale-api.md) · [All operations](https://skmtc.dev/planetscale/apis/planetscale-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/planetscale/planetscale-api/revisions/ed1825db11c6/schema)
