Billing
Get billing
/v1/workspaces/{workspaceId}/billingThe workspace's plan, subscription and usage, and every plan it could move to with its price, limits and what it would stop. Any member or API key can read it.
Path parameters
workspaceIdstringrequiredThe workspace's id. An API key can only use its own workspace.
Response
modeenumrequiredonwhen billing runs on this deployment.One of
"off","unconfigured","on"planenumrequiredOne of
"business","publishers","agencies"planNamestringrequiredfreeone of 2requiredSet by staff, or null. A free workspace is never billed and has no checkout.
Show 2 optionsHide 2 options
Option 1
planenum or nullrequiredThe plan it is free on. Null means no plan, with everything included.
meteringbooleanrequiredFalse when checks are never charged.
null
statusenumrequiredA suspended workspace's forms show "This form is currently inactive", and it can't publish.
One of
"trialing","active","suspended"suspendedBecauseenum or nullrequiredtrialEndsAtnumber or nullrequiredWhen the trial ends, in milliseconds since the epoch. Set while trialing.
subscriptionone of 2requiredShow 2 optionsHide 2 options
Option 1
cancelAtPeriodEndbooleanrequiredcurrentPeriodEndnumber or nullrequiredThe renewal date, in milliseconds since the epoch.
intervalenumrequiredOne of
"month","year"scheduledChangeone of 2requiredA change that waits for the period to end, such as yearly to monthly. Null when none is waiting.
Show 2 optionsHide 2 options
Option 1
planenumrequiredOne of
"business","publishers","agencies"intervalenumrequiredOne of
"month","year"atnumberrequired
null
null
yearlyAvailablebooleanrequiredPlans can be paid yearly here, at priceYearly, billed once a year.
canManagebooleanrequiredTrue when the caller is the owner, who alone can pay.
usageone of 2requiredNull for a member limited to some brands, since nothing is counted for them.
Show 2 optionsHide 2 options
Option 1
formsnumberrequiredbrandsnumberrequiredusersnumberrequired
null
plansarray of objectrequiredEvery plan.
Show 10 fieldsHide 10 fields
idenumrequiredOne of
"business","publishers","agencies"namestringrequiredpriceMonthlynumberrequiredpriceYearlynumberrequiredlimitsobjectrequiredShow 3 fieldsHide 3 fields
formsnumber or nullrequiredbrandsnumber or nullrequiredusersnumber or nullrequired
featuresarray of stringrequiredretentionDaysnumber or nullrequiredincludedCreditsUsdnumberrequiredFree credits each month for metered checks.
overarray of object or nullrequiredWhat is over this plan's limits. A workspace can only buy a plan it fits. Null for a member limited to some brands.
stopsarray of object or nullrequiredChecks that published forms run now and that would stop on this plan. The move is still allowed, and the forms skip the check and keep the lead. Null for a member limited to some brands.
suggestedPlanenum or nullrequiredThe cheapest plan that covers the workspace's usage. Null for a member limited to some brands.
Errors answer with a status and the error shape.