Skip to content
Skip to Content

Who is calling

GET
/me

The person behind the credential, the organization the call works in, and what the credential may do.

Authorization

bearer
headerAuthorizationBearer <token>

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

Response body

Who is calling

application/json
  1. response
user*
organization*
credential*
Example request
curl "https://openpanel.sh/api/v1/me" \  -H "Authorization: Bearer $OPENPANEL_TOKEN"
Example response
{  "user": {    "id": "string",    "name": "string",    "email": "string"  },  "organization": {    "id": "string",    "name": "string",    "slug": "string",    "logo": "string",    "role": "owner",    "personal": true  },  "credential": {    "kind": "key",    "via": "cli",    "keyId": "468bcefd-6536-4844-8249-aff3ecb2ef7b",    "scope": "view",    "projectIds": [      "b2d9859a-b2e9-4f49-b393-9a25d0eff2f8"    ]  }}