Admin

Everything under /admin/* requires the calling user to be a platform admin - a separate flag from being an account Owner. These endpoints operate across every account on the platform, not just the caller's own.

GET/admin/accounts

List every account on the platform.

GET/admin/accounts/:id

Account detail.

PATCH/admin/accounts/:id

Update an account (e.g. status).

GET/admin/users

List every user on the platform.

PATCH/admin/users/:id

Update any user, across any account.

GET/admin/moderation-flags

Moderation flags across every account.

PATCH/admin/moderation-flags/:id

Review a flag. ACCOUNT_SUSPENDED is the only status that actually suspends the account.

GET/admin/audit-log

The platform-wide audit trail.

GET/admin/alltelecoms/balance

The platform's own balance with the upstream SMS vendor.

GET/admin/pricing-plans

Full pricing plan catalog, including inactive plans.

GET/admin/sms-bundles

Full SMS bundle catalog, including inactive bundles.