---
title: "Get the authenticated identity"
method: GET
path: "/me"
tags: ["account"]
---

# Get the authenticated identity

`GET /me`

## Request

- Base URL: `https://api.mailly.site` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mailly.site/me`
- Auth: HTTP bearer

Returns the account email, the credential type and the scopes it carries. API keys carry every scope.

## Response `200`

Authenticated identity

- object
  - `success` boolean, required
  - `email` string, required
  - `credential_type` 'api_key' | 'oauth', required
  - `scopes` string[], required
  - `client_id` string, nullable, required

## Other responses

- `401`: Invalid credential

---

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