admin

Every account, newest first, searchable. Owner only.

Every account, newest first: id, the person's email and name (null for a key-only account), label, credits, created_at, last_seen_at, runs, hooks, charged_total, is_admin, admitted_by (the prefix of the access code that admitted it) and keys_active; total counts every match. Needs the admin scope and an admin account. MCP: admin_list_accounts.

get/v1/admin/accounts

Request

  • Base URL: https://api.hookdetector.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.hookdetector.com/v1/admin/accounts
  • Auth: none declared

Query parameters

qstring nullable

up to 200 characters: part of an email or label (any case), or the start of an id

limitinteger nullable

page size, 1 to 200 (default 50)

offsetinteger nullable

how many to skip

Headers

authorizationstring nullable

Bearer hd_... from POST /v1/accounts or POST /v1/keys

Response

Successful Response

totalinteger required

accounts matching q, across every page

Example response

{
  "accounts": [
    {
      "admitted_by": "HD-7K3M",
      "charged_total": 63,
      "created_at": "2026-09-23T10:00:00.000000+00:00",
      "credits": 437,
      "email": "ana@example.com",
      "hooks": 24,
      "id": "8f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
      "is_admin": false,
      "keys_active": 2,
      "last_seen_at": "2026-09-23T10:00:00.000000+00:00",
      "name": "Ana",
      "runs": 3
    }
  ],
  "total": 1
}

Changes

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