Skip to content
Skip to Content

Get the organization

GET
/organization

Authorization

bearer
headerAuthorizationBearer <token>

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

Response body

Get the organization

application/json
  1. response
id*string
name*string
slug*string
logo*string|null
role*string

The caller's role: member is "Can deploy", viewer is "Can view".

Value in"owner""admin""member""viewer"
personal*boolean

The organization made for the caller's own account.

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