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.

Retrieves comprehensive details about a community member, including their subscription status, payment history, tier information, and block status.

URL Parameters

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

Returns

Returns detailed information about the community member including user details, subscription info, payment history, and block status.
curl -H "Authorization: $ACCESS_TOKEN" \
  --request GET \
  --url 'https://api.onlydrams.app/api/v1/communities/123/members/456'
{
  "id": "3a6045c1-7dcc-4937-8abc-a7cf6fde85d1",
  "status": "active",
  "created_at": "2025-11-19T13:30:44Z",
  "updated_at": "2025-12-13T14:08:38Z",
  "is_blocked": false,
  "user": {
    "id": "b5b7ae94-9533-4dee-9ed4-0e45338646f5",
    "name": "John Doe",
    "username": "johndoe",
    "email": "john@example.com",
    "avatar_url": "https://storage.googleapis.com/onlydrams/default.jpg",
    "account_type": "personal"
  },
  "tier": {
    "id": "de7260fe-c514-476e-81c1-e27f22311e27",
    "name": "Premium",
    "monthly_price_cents": 999,
    "monthly_price": "$9.99"
  },
  "subscription": {
    "current_period_start": "2025-12-01T00:00:00Z",
    "current_period_end": "2025-12-31T23:59:59Z",
    "trial_start": null,
    "trial_end": null,
    "canceled_at": null,
    "ended_at": null,
    "days_remaining": 18
  },
  "lifetime_spend": {
    "cents": 2997,
    "formatted": "$29.97"
  },
  "shipping_address": {
    "line1": "123 Main Street",
    "line2": "Apt 4B",
    "city": "New York",
    "state": "NY",
    "postal_code": "10001",
    "country": "US"
  },
  "block_info": null,
  "payment_history": [
    {
      "id": "txn_001",
      "type": "payment",
      "amount_cents": 999,
      "amount": "$9.99",
      "currency": "usd",
      "status": "succeeded",
      "tier_name": "Premium",
      "description": "Premium - Monthly",
      "created_at": "2025-12-01T00:00:00Z",
      "transaction_date": "2025-12-01"
    },
    {
      "id": "txn_002",
      "type": "payment",
      "amount_cents": 999,
      "amount": "$9.99",
      "currency": "usd",
      "status": "succeeded",
      "tier_name": "Premium",
      "description": "Premium - Monthly",
      "created_at": "2025-11-01T00:00:00Z",
      "transaction_date": "2025-11-01"
    }
  ]
}
{
  "id": "3a6045c1-7dcc-4937-8abc-a7cf6fde85d1",
  "status": "canceled",
  "created_at": "2025-11-19T13:30:44Z",
  "updated_at": "2025-12-13T14:08:38Z",
  "is_blocked": true,
  "user": {
    "id": "b5b7ae94-9533-4dee-9ed4-0e45338646f5",
    "name": "John Doe",
    "username": "johndoe",
    "email": "john@example.com",
    "avatar_url": "https://storage.googleapis.com/onlydrams/default.jpg",
    "account_type": "personal"
  },
  "tier": {
    "id": "de7260fe-c514-476e-81c1-e27f22311e27",
    "name": "Premium",
    "monthly_price_cents": 999,
    "monthly_price": "$9.99"
  },
  "subscription": {
    "current_period_start": "2025-12-01T00:00:00Z",
    "current_period_end": "2025-12-13T14:08:38Z",
    "trial_start": null,
    "trial_end": null,
    "canceled_at": "2025-12-13T14:08:38Z",
    "ended_at": "2025-12-13T14:08:38Z",
    "days_remaining": 0
  },
  "lifetime_spend": {
    "cents": 2997,
    "formatted": "$29.97"
  },
  "shipping_address": null,
  "block_info": {
    "blocked": true,
    "blocked_at": "2025-12-13T14:08:38Z",
    "blocked_by": "owner-user-id",
    "reason": "Spam and inappropriate behavior"
  },
  "payment_history": [
    {
      "id": "txn_001",
      "type": "payment",
      "amount_cents": 999,
      "amount": "$9.99",
      "currency": "usd",
      "status": "succeeded",
      "tier_name": "Premium",
      "description": "Premium - Monthly",
      "created_at": "2025-12-01T00:00:00Z",
      "transaction_date": "2025-12-01"
    }
  ]
}

Error Responses

{
  "message": "Not Found"
}
{
  "message": "You don't have permission to view community members"
}