Skip to main content
GET
/
whoami
Get caller identity
curl --request GET \
  --url https://api.mesa.dev/api/v1/whoami \
  --header 'Authorization: Bearer <token>'
{
  "org": {
    "id": "<string>",
    "slug": "<string>",
    "name": "<string>"
  },
  "key_id": "<string>",
  "key_name": "<string>",
  "scopes": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Caller identity

org
object
required
key_id
string | null
required
key_name
string | null
required
scopes
string[]
required