Check whether the caller can use the admin tools

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

get/api/account/admin

Request

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

Response

Whether the caller is Toma staff.

adminboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.