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
Community posts are content created by community owners for their members. Posts support rich content including HTML text, external links, images, and interactive polls.Authentication
Authorization levels:- Community Owner: Full access to create, edit, and delete posts
- Admin: Full access to all community posts
- Community Member: Read access to posts visible to their tier
- Authenticated User: Read access to public community information
Community Post Object
Post Status
Posts have three possible statuses:draft- Not visible to members, work in progresspublished- Visible to members based on tier visibility settingsarchived- Hidden from members but preserved
Content Types
Posts must have at least one of:- Text Content: HTML-formatted content (max 10,000 characters)
- External Link: URL with optional title and description
- Poll: Interactive voting component
- Images: Multiple images (uploaded as base64)
- Mixed Content: Combination of text, links, images, and polls
Tier Visibility
Control which members can view posts:- All Tiers: Set
visible_to_all_tiers: true - Specific Tiers: Set
visible_to_all_tiers: falseand providevisible_tier_idsarray - Access Control: Members can only see posts visible to their subscribed tier
Polls
Posts can include interactive polls with:- Question: Main poll question (max 500 characters)
- Options: 2-10 answer choices
- Voting Mode: Single choice or multiple choice
- Expiration: Optional expiration date
- Results: Visible to all voters
Images
Multiple images can be attached to posts:- Format: Base64-encoded strings
- Supported Types: PNG, JPEG, GIF, WebP
- Storage: Automatically uploaded to cloud storage
- Display: Image URLs returned in post object

