• How it works
    • Features
    • Blog
    LoginStart a Campaign

    Flare Docs

    API reference and guides

    Getting Started

    • Introduction
    • Authentication
    • Rate Limiting

    API Reference

    • Accounts
    • Social Posts
    • Batch Posts

    Guides

    • Media & Content
    • Scheduling
    • Code Examples

    Reference

    • Errors

    Media & Content#

    Attach media to posts and customize content per platform.

    Attaching media#

    There are three ways to attach media to a post:

    1. External URL#

    Provide a mediaUrl — Crelio downloads the file, stores it in your CDN, and uses the stored copy. This ensures posts don't break if the original URL goes down.

    {
    	"accountIds": ["acc_123"],
    	"content": "Check this out!",
    	"mediaUrl": "https://example.com/photo.jpg"
    }

    2. Base64#

    Send the file contents directly as a base64-encoded string:

    {
    	"accountIds": ["acc_123"],
    	"content": "New product photo",
    	"mediaBase64": "iVBORw0KGgoAAAANSUhEUg...",
    	"mediaFileName": "product.jpg"
    }

    3. Multipart form data#

    Upload the file as part of a multipart request:

    curl -X POST https://crelio.app/api/v1/social-posts \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -F "accountIds=[\"acc_123\"]" \
      -F "content=New product launch!" \
      -F "media=@/path/to/photo.jpg" \
      -F "autoSchedule=true"

    Platform-specific content#

    Use the platformContent object to tailor your message per platform. Any platform not listed falls back to the main content field:

    {
    	"accountIds": ["twitter_acc", "linkedin_acc", "instagram_acc"],
    	"content": "Default content for all platforms",
    	"platformContent": {
    		"twitter": "Short tweet version (280 chars)",
    		"linkedin": "Professional LinkedIn version with more details and context about our latest announcement."
    	}
    }

    In this example:

    • Twitter gets the short version
    • LinkedIn gets the professional version
    • Instagram falls back to the default content

    Supported media types#

    TypeFormatsMax size
    ImageJPG, PNG, GIF, WebP20 MB
    VideoMP4, MOV, AVI500 MB

    Platform-specific limits may apply (e.g., Twitter has a 280-character limit, video duration limits vary by platform).

    Previous
    Batch Posts
    Next
    Scheduling

    On this page

    Attaching media1. External URL2. Base643. Multipart form dataPlatform-specific contentSupported media types
    Copy for AI / LLM

    Copy the docs as raw Markdown to paste into ChatGPT, Claude, or any LLM for context-aware help with the Flare API.

    joinflare.app/llm.txt
    Flare

    The operating system for creator-powered growth — recruit, brief, track, and pay UGC creators at scale.

    Product

    • How it works
    • Features
    • Marketplace
    • Blog
    • FAQ

    Audience

    • Start a campaign
    • Are you a creator?

    Legal

    • Privacy Policy
    • Terms of Use

    Company

    • Careers
    • Contact

    Social

    • X
    • Instagram
    • TikTok
    • Facebook

    © 2026 Crelio Tech, Inc · 1111B S Governors Ave STE 52394, Dover, DE 19904, USA