---
title: "Get harmless identity fields for the signed-in MCP user: id, username, email, display name, and the slug of the org t..."
method: GET
path: "/v1/me"
tags: ["account"]
---

# Get harmless identity fields for the signed-in MCP user: id, username, email, display name, and the slug of the org t...

`GET /v1/me`

## Request

- Base URL: `https://api.kody.codes`
- URL: `https://api.kody.codes/v1/me`
- Auth: HTTP bearer

Get harmless identity fields for the signed-in MCP user: id, username, email, display name, and the slug of the org this request acts in. Email is empty when the caller is a team org rather than a person. Use email and display_name as git user.email / user.name on Kody remotes when a git-remote result is not already in hand.

Org permission: none (touches no org data).

## Response `200`

Success.

- object
  - `user_id` string, required
  - `username` string, required
  - `email` union, required
    - string, email
    - '': Empty when the caller is a team org, not a person.
  - `display_name` string, required
  - `org` object, required
    - `slug` string, required: Package scope and package-app subdomain.

## Other responses

- `400`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `401`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `403`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `404`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `409`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `413`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `429`: Too many requests (edge IP/token limit) or an entitlement / plan-cap limit. Wait at least `Retry-After` seconds before retrying.
- `500`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `503`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `default`: Error envelope `{ "error": { "code", "message", "details"? } }`.

---

[API](https://skmtc.dev/kody/apis/kody-api.md) · [All operations](https://skmtc.dev/kody/apis/kody-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kody/apis/kody-api/revisions/a020ecedb82b?raw)
