Get the organization
GET
bearerheader
AuthorizationBearer <token>An API key (opk_…) or a CLI token (opc_…).
Get the organization
application/json- response
id*stringname*stringslug*stringlogo*string|nullrole*stringThe caller's role: member is "Can deploy", viewer is "Can view".
Value in
"owner""admin""member""viewer"personal*booleanThe organization made for the caller's own account.
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}