The Form Restrictions API tells you what a site's premium plan allows its forms to do. A single call returns the site's form limits, the premium features its plan permits, and how many forms it already has.
With the Form Restrictions API, you can:
Restrictions come from the site's premium plan and change when that plan changes. Creating or updating a form that exceeds a limit, or that uses a feature the plan doesn't allow, is rejected, so read the restrictions before you write. Use the Forms API to create and update the forms these restrictions apply to.
A site's limits change as soon as its premium plan changes, and a downgrade can leave existing forms over a limit.
Such a form is disabled rather than deleted. It stops accepting submissions, but the form and its submissions stay readable, and it accepts submissions again once the site is back within its limits, whether because the site owner edited the form or restored the plan. Because of this, a site's forms can exceed its current restrictions, so don't assume that what the API returns describes every form the site already has.
It's important to note the following points before starting to code:
limit of null means the plan sets no limit on that value.warnThreshold, the count at which to warn that the limit is close to being reached. Reaching it doesn't block anything. For some limits warnThreshold equals limit, meaning there's no early warning.totalFormCount is 0 when the count can't be retrieved, rather than the call failing. Treat 0 as unknown rather than as an empty site before using it to decide whether a form can be added.features is an allowlist. Any feature absent from the list is unavailable on the site's current plan.Last updated: 3 September 2026