# See your account

`GET https://api.mailmasker.org/api/v1/account/summary`

Your address, when the account was made, your recovery address and your roles.

- Who can use it: Any signed-in account
- Area: Your account
- Answers 200 OK when it works
- Page: https://developer.mailmasker.org/account-summary

`recovery_email` is where a "forgot password" link is sent, or null if you have none. `roles` are what the account may do; an ordinary account has just `user`.

## Examples

cURL:

```bash
curl -s 'https://api.mailmasker.org/api/v1/account/summary' \
  -H "Authorization: Bearer $TOKEN"
```

Perl:

```perl
use Mojo::Base -strict;
use Mojo::UserAgent;

my $ua  = Mojo::UserAgent->new;
my $res = $ua->get('https://api.mailmasker.org/api/v1/account/summary',
    { Authorization => "Bearer $ENV{TOKEN}" })->result;
die $res->code, ' ', ($res->json('/error') // $res->message), "\n" unless $res->is_success;
print $res->body, "\n";
```

homelab-cli:

There is no homelab-cli command for this yet.

## Response

200 OK:

```json
{
  "email": "you@example.com",
  "created_at": "2026-09-27 14:03:51.402117-05",
  "recovery_email": "personal@example.com",
  "active": true,
  "roles": ["user"]
}
```
