API Reference
Log In
API Reference

Subscriptions and Drawers

The basis for a Subscription is a Stripe Price object. Subscriptions use parameters from these objects, such as billing cycle recurrence (monthly, yearly, etc.), price structure (per unit, tiered, etc.), and metadata.

There are two main types of Subscriptions available:

  1. Sponsored Drawers (sponsoredsds) – the Subscription licenses are attached to Drawers. A Drawer is then called a "sponsored Drawer (sidedrawer)"
    • To create a Drawer given this Subscription type:

      POST /api/v1/subscriptions/subscriptions/subscription-id/{subscriptionId}/sidedrawer OR
      POST /api/v2/subscriptions/subscriptions/subscription-id/{subscriptionId}/sidedrawer


  1. Sponsored Users (sponsoredusers) – the Subscription licenses are attached to Tenant Users. One of the Users given a license is then called a "sponsored User"
    • To create a Drawer given this Subscription type:

      POST /api/v1/tenants/tenant/tenant-id/{tenantId}/subscriptions/subscription-id/{subscriptionId}/sidedrawer OR
      POST /api/v2/tenants/tenant/tenant-id/{tenantId}/subscriptions/subscription-id/{subscriptionId}/sidedrawer


Summary

Subscription typeAudience (metadata)API to use for creating drawers
Sponsored Drawers, sponsoredsdsProsCabinets → Subscriptions
Sponsored Users, sponsoredusersUsersTenants → Subscriptions