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 allow community creators to share content with their members. Posts support rich content including HTML text, external links, images, and interactive polls. This API is designed for mobile app consumption.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
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: Up to 10 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
Content Access
For members without access to a post:- Content is replaced with placeholder text
- Link URLs are hidden
- Poll data is hidden
- Images are not returned
requires_upgradeflag is set totrue
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
Images
Images can be attached to posts:- Format: Base64-encoded strings
- Limit: Maximum 10 images per post
- Supported Types: PNG, JPEG, GIF, WebP
- Storage: Automatically uploaded to cloud storage

