---
title: "Whoami"
method: GET
path: "/whoami"
tags: ["identity"]
---

# Whoami

`GET /whoami`

Retrieves the details about the current authenticated entity used to access the API.

## Response `200`

Successful response with user or account.

- object
  - `data` union, required
    - object
      - `account` Account, required
        - `id` integer, required
        - `email` string, required
        - `plan_identifier` string, required
        - `created_at` string, date-time, required — A date-time value, representing when the entry was created, formatted as ISO 8601.
        - `updated_at` string, date-time, required — A date-time value, representing when the entry was last updated, formatted as ISO 8601.
      - `user` object, nullable, required
    - object
      - `user` User, required
        - `id` integer, required
        - `email` string, required
        - `created_at` string, date-time, required — A date-time value, representing when the entry was created, formatted as ISO 8601.
        - `updated_at` string, date-time, required — A date-time value, representing when the entry was last updated, formatted as ISO 8601.
      - `account` object, nullable, required

## Other responses

- `401` — The authentication credentials are invalid.
- `429` — You exceeded the allowed number of requests per hour and your request has temporarily been throttled.
- `default` — An error occurred

---

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