GET /api/admin/accounts/:sub (accounts.read, the staff-console specification): the profile (full email and name), sign-in events when the pool records them, the deletion hold, Handwrite Cloud counts, 30 days of usage and the Voices plan/credits. Writes one account.view audit entry per session and account per 15 minutes (no reason needed for the detail).PATCH (name / email changes, accounts.update with step-up) is added to this same file by package 7 (account-actions).Staff cookie session; permission accounts.read.Source snapshot: admin/src/app/api/admin/accounts/[sub]/route.ts. This reference describes the current working tree, not proof of deployment. The response service types and validators remain authoritative.
Request
Authorization
API Key
Add parameter in cookie
__Host-hwa_session
Example:
__Host-hwa_session: ********************
or
Path Params
Responses
🟢200
application/json
GET /api/admin/accounts/:sub (accounts.read, the staff-console specification): the profile (full email and name), sign-in events when the pool records them, the deletion hold, Handwrite Cloud counts, 30 days of usage and the Voices plan/credits. Writes one account.view audit entry per session and account per 15 minutes (no reason needed for the detail).PATCH (name / email changes, accounts.update with step-up) is added to this same file by package 7 (account-actions).