Documentation Index
Fetch the complete documentation index at: https://mintlify.com/MatthewSabia1/SubPirate-Pro/llms.txt
Use this file to discover all available pages before exploring further.
Content Versioning
Campaigns use content versions to define what gets posted. Each version includes:- Post type: Text post (self), link, image, or video
- Title: Required for all post types
- Body: Optional text content (for self posts)
- Link URL: Required for link posts
- Media rotation: How to cycle through attached media
GET /api/campaigns/:id/content
List all content versions for a campaign. Requires Viewer role.Path Parameters
Campaign UUID
Response
Array of content version objects, ordered by version number (newest first)
Example Request
POST /api/campaigns/:id/content
Create a new content version for a campaign. Requires Editor role. The new version will automatically become active, and previous versions will be deactivated.Path Parameters
Campaign UUID
Request Body
Post type:
self, link, image, or videoPost title (max 300 characters, Reddit’s limit)
Post body text (for
self posts). Can include Markdown formatting.Link URL (required for
link post type). Must be a valid http:// or https:// URL.Media rotation strategy. Currently only
sequential is supported (cycles through attached media in order).Response
The created content version object (see GET response schema)
Validation Rules
post_typemust be one of:self,link,image,videotitleis always required (max 300 characters)link_urlis required forlinkpost typelink_urlmust usehttp://orhttps://protocolbodyis typically used forselfposts (can be combined withlinkon some subreddits)
Example Requests
Text Post (Self)
Link Post
Image Post
Response Example
Errors
- 400: Invalid
post_type, missing required field, or invalid URL format - 403: User does not have Editor role
- 404: Campaign not found
Content Best Practices
Title Guidelines
- Be descriptive: Clearly state the value or topic
- Avoid clickbait: Reddit communities downvote obvious marketing
- Include brackets: Tags like
[Tool],[Guide],[Beta]can help - Study top posts: Check what titles perform well in your target subreddits
Body Content (Self Posts)
- Lead with value: Don’t bury the lede
- Use formatting: Markdown (
**bold**,- lists,> quotes) improves readability - Engage authentically: Ask questions, offer to help
- Disclose affiliation: Be transparent about your connection to the product
- Keep it concise: Long walls of text get skipped
Link Posts
- Link to valuable content: Landing pages, blog posts, GitHub repos
- Avoid direct product links: Reddit prefers educational content over sales pages
- Ensure mobile-friendly: Many Redditors browse on mobile
Media Posts (Image/Video)
- Use high-quality visuals: Blurry screenshots get downvoted
- Add context in title: Explain what the image shows
- Follow subreddit rules: Some communities restrict promotional images
Testing Content
Before running a campaign at scale:- Manual post test: Post manually to verify format and community response
- Use run preview: Check what the post will look like (see Campaign Runs)
- Start small: Begin with
daily_post_target: 1to test the waters - Monitor feedback: Watch for downvotes or mod warnings
Content Versioning Strategy
Create new versions when:- A/B testing titles: Compare engagement across different titles
- Seasonal updates: Refresh content for holidays or events
- Product changes: Update links or descriptions for new features
- Performance decline: If a post stops performing, try a fresh angle
- Audit trail: Track what was posted when
- Rollback capability: Reactivate a previous version if needed
- Performance comparison: Compare metrics across versions