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

community_id
integer
required
The ID of the community
id
integer
required
The ID of the community membership

Returns

Returns a detailed community membership object including metadata and refund history.
curl -X GET https://api.onlydrams.app/odis/v1/communities/1/members/50 \
     -H "Authorization: Bearer $ACCESS_TOKEN"
{
  "id": 50,
  "status": "active",
  "current_period_start": "2024-11-01T00:00:00Z",
  "current_period_end": "2024-12-01T00:00:00Z",
  "trial_start": null,
  "trial_end": null,
  "canceled_at": null,
  "ended_at": null,
  "shipping_address": {
    "name": "John Doe",
    "line1": "123 Main St",
    "line2": "Apt 4B",
    "city": "Portland",
    "state": "OR",
    "postal_code": "97201",
    "country": "US"
  },
  "metadata": {
    "lifetime_spend_cents": 2997,
    "notes": "VIP member",
    "refunds": []
  },
  "is_blocked": false,
  "block_reason": null,
  "total_refunded": 0,
  "refund_history": [],
  "lifetime_spend_cents": 2997,
  "requires_shipping_address": true,
  "has_shipping_address": true,
  "user": {
    "id": 200,
    "username": "whisky_lover",
    "email": "member@example.com",
    "first_name": "John",
    "last_name": "Doe",
    "avatar_url": "https://storage.googleapis.com/onlydrams/avatars/200.jpg"
  },
  "membership_tier": {
    "id": 1,
    "name": "Bronze Member",
    "monthly_price_dollars": 9.99,
    "description": "Basic access to community content"
  },
  "community": {
    "id": 1,
    "name": "Whisky Enthusiasts",
    "slug": "whisky-enthusiasts"
  },
  "created_at": "2024-08-15T10:30:00Z",
  "updated_at": "2024-11-14T08:20:00Z"
}

Notes

  • Authorization: Community owner or admin only
  • Metadata: Contains custom data and refund history
  • PII: Full member details including email and shipping address