For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Resources
Get started
ReferenceGuidesExamplesChangelog
ReferenceGuidesExamplesChangelog
  • Designer API
    • Introduction
    • Getting Started
    • Webflow CLI
    • Error Handling
    • App Modes
  • Elements
    • Creating & Retrieving Elements
    • Element Properties & Methods
    • Element Types & Methods
  • Styles
    • Managing Style Properties
    • Managing Variable Modes
  • Components
  • Variables & Collections
    • Variable Collections
    • Variables
    • Variable Modes
  • Assets
  • Pages & Folders
  • Utilities
      • Get site information
      • Resize the extension
      • Close the extension
      • Get the current breakpoint
      • Get user ID token
      • Get user's Designer capabilities
      • Get the current Designer mode
      • Check for a Designer mode
      • Get the Designer's pseudo-state
      • Get launch context
      • Get app subscriptions
      • Get theme
      • Get theme styles
    • User Events & Notifications
    • App Intents & Connections
  • Additional Resources
    • API Playground
    • FAQs
LogoLogo
Resources
Get started
On this page
  • webflow.getAppSubscriptions()
  • Syntax
  • Returns
  • Example
  • Designer Ability
UtilitiesSite Information & Settings

Get App Subscriptions (Beta)

Was this page helpful?
Previous

Get Theme (Beta)

Next
Built with

webflow.getAppSubscriptions()

Returns all active app subscriptions associated with the current site.

Use this to gate features behind paid subscription tiers or to check which subscription plan a site is on.

Beta

These methods are in public beta and may change with future releases.

Syntax

1webflow.getAppSubscriptions(): Promise<Array<AppSubscription>>

Returns

Promise<Array<AppSubscription>>

A Promise that resolves to an array of AppSubscription objects. Returns an empty array if no subscriptions are active.

Each AppSubscription has the following properties:

PropertyTypeDescription
appIdstringThe ID of the app
price.valuenumberThe subscription price amount
price.unitstringThe currency unit
price.interval'ONE_TIME' | 'MONTHLY' | 'YEARLY'The billing interval
accessGrant.type'Site'The resource type the subscription applies to
accessGrant.idstringThe resource ID (site ID)
statusstringThe subscription status
startsAtstringISO 8601 start date
endsAtstringISO 8601 end date

Example

1const subscriptions = await webflow.getAppSubscriptions();
2
3if (subscriptions.length === 0) {
4 console.log('No active subscriptions');
5} else {
6 for (const sub of subscriptions) {
7 console.log(`App ${sub.appId}: ${sub.status} (${sub.price.interval})`);
8 }
9}

Try this example

Designer Ability

Designer AbilityLocaleBranchWorkflowSitemode
canAccessCanvasAnyAnyAnyAny