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.

Returns a list of benefits for the specified community, ordered by position.

URL Parameters

community_id
integer
required
The ID of the community

Query Parameters

status
string
Filter by status: active or archived (optional)

Returns

Returns an array of benefit objects.
curl -X GET https://api.onlydrams.app/odis/v1/communities/1/benefits?status=active \
     -H "Authorization: Bearer $ACCESS_TOKEN"
[
  {
    "id": 1,
    "name": "Early Access to Releases",
    "description": "Get first access to new bottle releases",
    "position": 1,
    "status": "active",
    "tier_count": 2,
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-11-14T08:20:00Z"
  },
  {
    "id": 2,
    "name": "Exclusive Tastings",
    "description": "Access to members-only virtual tastings",
    "position": 2,
    "status": "active",
    "tier_count": 1,
    "created_at": "2024-01-20T14:00:00Z",
    "updated_at": "2024-11-14T08:20:00Z"
  }
]

Notes

  • Authorization: Community owner or admin only
  • Ordering: Benefits are returned ordered by position (ascending), then by creation date
  • Filtering: Use status parameter to filter by active or archived benefits