Skip to content

Get the authenticated caller

GET /v1/me

Returns the user the API key belongs to, the team the key is bound to, and the user’s role in that team. Useful for confirming which workspace a key points at without having to store that mapping separately on the caller.

No path parameters. No request body.

200 OK:

FieldTypeDescription
user.idstringUser ID of the API key’s owner.
user.namestringDisplay name.
user.emailstringEmail address.
user.imagestring | nullAvatar URL, or null if not set.
organization.idstringID of the team the API key is bound to.
organization.namestringTeam name.
organization.rolestringThe caller’s role in the team (e.g. owner, admin, member).
{
  "user": {
    "id": "u_abc123",
    "name": "Alex Kim",
    "email": "alex@acme.com",
    "image": "https://cdn.orsane.app/avatars/u_abc123.png"
  },
  "organization": {
    "id": "org_xyz",
    "name": "Acme Inc.",
    "role": "admin"
  }
}
StatusBodyWhen
404{ "error": "Membership not found." }The API key’s owner is no longer a member of the bound team.