Documentation · API reference
GET/api/v1/admin/accounts/{id}

One account: what it is, and everything that was done to it

One account: what it is, and everything that was done to it.

Parameters

idin the address
neededThe account

The answer

Status 200

AdminAccount

agreed
integer or nullWhen the agreement now running was made.
audit
list of AdminLineneededWhat its members did, newest first.
buyer
stringWho the account buys as: empty, `business` or `consumer`.
deletion_by
stringneeded
events
list of AdminEventneededThe provider's events about it, newest first.
invited
string or nullThe note of the invite code it was made with, if it was: "for Ana".
invoices
list of InvoiceViewneeded
limits
AdminLimits or null
log
list of AdminLineneededWhat operators did to it, newest first.
members
list of AdminMemberneeded
notes
list of AdminNoteneeded
now
integerneeded
plan
PlanViewneededThe plan as it applies to this account: its own limits in place.
plans
list of PlanViewneeded
row
AdminAccountRowneeded
sites
list of AdminSiteneeded
subscription
AdminSubscription or null
suspended_why
stringneeded
terms_ts
integer or null
terms_version
stringThe version of the terms its owner accepted at sign-up, and when (doc/audit-fixes.md 3.4). Empty where none were published.

Asking

With your token from Settings
curl https://tidekeeper.eu/api/v1/admin/accounts/{id} \
    -H "Authorization: Bearer $TIDEKEEPER_TOKEN"
With your token from Settings
const answer = await fetch("https://tidekeeper.eu/api/v1/admin/accounts/{id}", {
  headers: {
    Authorization: `Bearer ${process.env.TIDEKEEPER_TOKEN}`,
  },
}).then((r) => r.json());