---
title: "Identify the active account (the pinned one, for API tokens)"
method: GET
path: "/accounts/active"
tags: ["Accounts"]
---

# Identify the active account (the pinned one, for API tokens)

`GET /accounts/active`

## Request

- Base URL: `https://api.nippy.host`
- URL: `https://api.nippy.host/accounts/active`
- Auth: `bearer` (a scheme the document does not define)

The one account-identity endpoint API tokens may call: programmatic clients (the browser extension, CLI) use it to label a connection with its workspace name. Returns only the resolved context — a pinned token can never enumerate the user's other accounts.

## Response `200`

- APIActiveAccount
  - `id` string, required
  - `name` string, required

---

[API](https://skmtc.dev/nippy/apis/nippy-backend-api.md) · [All operations](https://skmtc.dev/nippy/apis/nippy-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nippy/apis/nippy-backend-api/revisions/7ab23f040a55?raw)
