Skip to content
Skip to Content

List your organizations

GET
/organizations

Every organization the person belongs to, their own first. An API key works in its own organization only; a session picks one with the OpenPanel-Organization header.

Authorization

bearer
headerAuthorizationBearer <token>

An API key (opk_…) or a CLI token (opc_…).

Query parameters

limit?integer

How many items to return, 1 to 100. Default 50.

Range1 <= value <= 100
cursor?string

The nextCursor of the previous page.

Lengthlength <= 500

Response body

List your organizations

application/json
  1. response
data*array<>
nextCursor*|

Pass as cursor for the next page; null on the last.

Example request
curl "https://openpanel.sh/api/v1/organizations" \  -H "Authorization: Bearer $OPENPANEL_TOKEN"
Example response
{  "data": [    {      "id": "string",      "name": "string",      "slug": "string",      "logo": "string",      "role": "owner",      "personal": true    }  ],  "nextCursor": "string"}