# dflow whoami

> Print the token the API accepted.

Web page: /docs/cli/account/whoami/

This prints who the API says you are for the saved login. Use it to check that a token or a password session works.

```bash
dflow whoami
```

## Flags

Global flags only. This page does not add a flag.

## What you see

The API identity for the saved login.

## When it fails

A missing login exits 2.
