Documentation Index
Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt
Use this file to discover all available pages before exploring further.
ENDPOINTS
Overview
Membership tiers define subscription levels within a community. Each tier has its own pricing, benefits, and optional member limits. Tiers integrate with Stripe for payment processing.Authentication
All endpoints require authentication. Authorization levels:- Community Owner: Full access to their community’s tiers
- Admin: Full access to all tiers
- Authenticated User: Read access to active tiers
Membership Tier Object
Tier Status
active- Available for new subscriptionsarchived- No new subscriptions allowed, existing members maintained
Pricing
Tiers support both monthly and annual billing:- Monthly Price: Required, set in dollars or cents
- Annual Discount: Optional percentage (0-100)
- Annual Price: Automatically calculated from monthly price and discount
Free Trials
Tiers can offer free trial periods:- Enable with
free_trial_enabled: true - Default trial period: 7 days
- Customizable trial duration
Member Limits
Optional capacity constraints:- Set
member_limitto cap membership - Track
current_member_count has_available_spotsindicates availabilityfullflag prevents new subscriptions when limit reached
Stripe Integration
Each tier automatically creates:- Stripe Product (represents the tier)
- Stripe Price (handles recurring billing)
- Updates sync to Stripe when tier is modified

