Account plan and current usage per brand (owner or admin)
const url = 'https://api.replifier.com/v1/orgs/org_01hx0000000000000000000000/usage';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.replifier.com/v1/orgs/org_01hx0000000000000000000000/usageActive contact: status = active with at least one active subscription to a non-deleted list (README, “Plans and usage”). Counters are recomputed hourly for brands with changes and daily for all brands; computedAt is the oldest one.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
org_01hx0000000000000000000000Responses
Section titled “Responses”Plan and usage
object
object
DAT-3222: start of the current trial; null outside a trial. Together with trialEndsAt it gives the duration
DAT-3222: the current trial lasts longer than the standard trial (rules.trialDays): it is the closed beta (DAT-3221). Decided by duration, not by time remaining: it stays true during its last days. DAT-3295: it keeps describing the long trial after the general launch (GET /v1/meta launched); the dashboard then stops calling it beta
object
Sum across all brands. Drive and video are a read-only aggregate: their limit is measured per brand (brands[].driveLevel, brands[].videoLevel)
object
object
DAT-2943: Drive usage of THIS brand against plan.limits.driveBytes (the limit is per brand)
DAT-2943: stored video of THIS brand against plan.limits.videoMinutesStored (the limit is per brand)
M16.5: account active contacts per day (snapshots from the last 90 days)
object
object
Daily rate (linear trend of the last basisDays snapshots, max 14)
Renewal, trial end or month end (Free)
today + perDay × daysLeft, never negative
Tier of the next charge (on a paid plan it only goes up; downgrading is manual)
Estimated next charge in cents (server-side price)
object
Alerts for the current period (once per threshold, period and, for Drive and video, brand; also emailed to the owner)
object
Brand of the Drive or video alert (the limit is per brand); null for contact and trial alerts
Example
{ "plan": { "state": "trial", "cycle": "month" }, "brands": [ { "driveLevel": "ok", "videoLevel": "ok" } ], "projection": { "nextCharge": { "cycle": "month" } }, "alerts": [ { "kind": "contacts_90" } ]}No session, expired session, or invalid, expired or revoked API key
object
object
Example
{ "error": { "code": "not_found" }}Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)
object
object
Example
{ "error": { "code": "not_found" }}Does not exist or is not visible to you
object
object
Example
{ "error": { "code": "not_found" }}Internal error
object
object
Example
{ "error": { "code": "not_found" }}