Platform statistics
GET
https://app.speybooks.com/api/v1/admin/statsPlatform-wide statistics for the admin dashboard, returned in a single call: user counts (total, active, locked); organisations by plan (total, trial, sole trader, limited company); the trial pipeline (active, expiring within 48 hours, expired); monthly recurring revenue in pence with a formatted display value and active counts per plan; the ten most recent signups with organisation and plan; and webhook health over the last 24 hours (processed, failed, and an overall status). Revenue is computed from active subscriptions only.
Response
200Platform-wide stats: user counts, org breakdown by plan, trial pipeline, MRR, recent signups, and webhook health.
Show response fields
organisationsobjectShow child attributes
limitedCompanyintegersoleTraderintegertotalintegertrialintegerrecentSignupsarray<object>Show child attributes
createdAtstringdate-timeemailstringfullNamestringidintegerorgNamestringplanstringrevenueobjectShow child attributes
limitedActiveintegermrrintegermrrFormattedstringsoleTraderActiveintegertrialsobjectShow child attributes
activeintegerexpiredintegerexpiringSoonintegerusersobjectShow child attributes
activeintegerlockedintegertotalintegerwebhookHealthobjectShow child attributes
failedintegerprocessedintegerstatusstringtotalinteger