swonkie.dev
    • Introduction
    • Quick Start
    • Changelog
    • Social Networks
      • Facebook
      • Instagram
      • LinkedIn
      • TikTok
      • Threads
    • Profiles
      • My Profiles
        GET
      • Competitors
        GET
    • Insights
      • Getting Started
      • My Profile Insights
        GET
      • My Profile Insights Posts
        GET
      • Competitor Insights
        GET
      • Competitor Insights Posts
        GET
    • Posts
      • Getting Started
      • List Posts
        GET
      • Get a Post
        GET
      • Create a Post
        POST
      • Update a Post
        PUT
      • Validate a Post
        GET
      • Delete a Post
        DELETE
      • Change Post Stage
        PATCH
    • Labels
      • Getting Started
      • List Labels
        GET
      • Create a Label
        POST
    • Media
      • Get a Media
      • Create a Media
      • Upload File to Media
      • Confirm Uploaded Media
      • Delete a Media
    • Examples
      • Publish
    Back to Home
    Back to Home
    Login

    Media

    The media workflow:
    1.
    Upload media via POST /media to receive an upload URL
    2.
    Upload the actual file to the provided URL
    3.
    Confirm the upload using the PATCH /media/:mediaId
    4.
    Reference the media in posts using the returned mediaLibId
    5.
    Use GET /media/:mediaId to check the status and wait for SUCCESS
    6.
    Once SUCCESS, The same media can be reused across unlimited posts
    Modified at 2026-03-12 16:06:20
    Previous
    Create a Label
    Next
    Get a Media
    Built with