> ## Documentation Index
> Fetch the complete documentation index at: https://developer.firstsales.io/llms.txt
> Use this file to discover all available pages before exploring further.

# whoami

> Validate the active FirstSales Developer API key.

`firstsales whoami` is the FirstSales equivalent of `npm whoami`.

It calls `/api/v1/whoami`, prints the authenticated identity/context, and exits non-zero when auth is missing, revoked, invalid, or unauthorized.

```bash theme={null}
firstsales whoami --json
```

Pretty output:

```bash theme={null}
firstsales whoami --pretty
```

The response never prints raw or hashed API keys.
