API ReferenceREST /api/v1Sign in

GET /api/v1/me returns the signed-in user, customer record, subscriptions, domains, and site surface (websites, databases, FTP, SSL, backups). Tickets and unreadCount are included when the actor has a customer id.

Retrieve

No path parameters. Scope is the session, not a customer id in the URL.

Markdown source
---
title: Account
nav: Account
group: Core resources
order: 40
---

# Account

`GET /api/v1/me` returns the signed-in user, customer record, subscriptions, domains, and site surface (websites, databases, FTP, SSL, backups). Tickets and `unreadCount` are included when the actor has a customer id.

## Retrieve

No path parameters. Scope is the session, not a customer id in the URL.

```curl
curl {{API}}/api/v1/me -b cookies.txt
```

```node
const me = await fetch(`${api}/api/v1/me`, { credentials: "include" }).then((r) => r.json());
```

```python
urllib.request.urlopen(f"{api}/api/v1/me")
```