Skip to main content

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.

URL Parameters

id
integer
required
The ID of the membership tier

Returns

Returns a membership tier object with full details.
curl -X GET https://api.onlydrams.app/odis/v1/tiers/1 \
     -H "Authorization: Bearer $ACCESS_TOKEN"
{
  "id": 1,
  "name": "Bronze Member",
  "description": "Basic access to community content",
  "monthly_price_cents": 999,
  "monthly_price_dollars": 9.99,
  "annual_price_cents": 9990,
  "annual_price_dollars": 99.9,
  "annual_discount_percentage": 17,
  "annual_savings_cents": 2000,
  "annual_savings_dollars": 20.0,
  "currency": "usd",
  "free_trial_enabled": true,
  "free_trial_days": 7,
  "require_shipping_address": false,
  "member_limit": 100,
  "current_member_count": 45,
  "has_available_spots": true,
  "full": false,
  "position": 1,
  "status": "active",
  "cover_image_url": "https://storage.googleapis.com/onlydrams/tiers/bronze.jpg",
  "stripe_product_id": "prod_xxx",
  "stripe_price_id": "price_xxx",
  "community": {
    "id": 1,
    "name": "Whisky Enthusiasts"
  },
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-11-14T08:20:00Z"
}