---
title: "Who Am I"
method: GET
path: "/v0/auth/me"
tags: ["Auth"]
---

# Who Am I

`GET /v0/auth/me`

Returns the identity and scope of the authenticated credential. Useful when a client holds a pod-scoped or inbox-scoped API key and needs to discover the parent organization, pod, or inbox without prior knowledge.

**CLI:**
```bash
agentmail auth me
```

## Response `200`

- Identity — Identity and scope of the authenticated credential.
  - `scope_type` 'organization' | 'pod' | 'inbox', required — The scope tier the authenticated credential is bound to.
  - `scope_id` string, required — ID of the most specific scope the credential is bound to. Equals inbox_id when scope_type is inbox, pod_id when pod, organization_id when organization.
  - `organization_id` string, required — ID of organization.
  - `pod_id` string, nullable — ID of the pod the credential is scoped to. Present when scope_type is pod or inbox.
  - `inbox_id` string, nullable — ID of the inbox the credential is scoped to. Present when scope_type is inbox.
  - `api_key_id` string, nullable — ID of the API key used to authenticate. Absent for JWT and proxy credentials.

---

[API](https://skmtc.net/agentmail-to/apis/api.md) · [All operations](https://skmtc.net/agentmail-to/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agentmail-to/api/revisions/394ddcdd9c29/schema)
