---
title: "Check whether the caller can use the admin tools"
method: GET
path: "/api/account/admin"
---

# Check whether the caller can use the admin tools

`GET /api/account/admin`

## Request

- Base URL: `https://www.toma.com`
- URL: `https://www.toma.com/api/account/admin`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `better-auth.session_token`

True only for Toma staff: a verified @toma.so or @toma.com address. The website shows its admin page to them alone.

## Response `200`

Whether the caller is Toma staff.

- object
  - `admin` boolean, required

## Other responses

- `401`: No valid session or API key.

---

[API](https://skmtc.dev/toma/apis/toma-api.md) - [All operations](https://skmtc.dev/toma/apis/toma-api/llms.txt) - [OpenAPI document](https://skmtc.dev/toma/apis/toma-api/revisions/b4e56e1db5a2?raw)
