Skip to content

Media uploads for every network

Get an upload URL, PUT the file, and use the public URL in any post. Postkey runs each network's upload flow when the post goes out.

No card required.

POST/v1/media/upload200
{ "filename": "launch.mp4", "mimeType": "video/mp4", "sizeBytes": 18400000 }
{ "uploadUrl": "https://uploads.postkey.dev/…",
  "publicUrl": "https://media.postkey.dev/prj_1/launch.mp4" }

launch.mp4 · 18.4 MBUploaded

Posted with one publicUrl. Each network gets its own upload flow:

  • XChunked video uploadPublished
  • InstagramMedia containerPublished
  • LinkedInRegistered assetPublished

How it works

  • One upload, every network

    X wants chunked video, Instagram wants a container, LinkedIn wants a registered asset. You send one URL. Postkey does each network's flow.

  • Images, video and PDFs

    Send image, video, gif or document. PDFs become LinkedIn document posts. Add alt text, or a thumbnail for Facebook and YouTube videos.

  • Limits per network

    Each network has its own size, length and format rules. They're listed on each platform page, so you can check before you post.

Works with your stack

  • Your code

    Node and Python SDKs with the same calls, or plain REST from anything that speaks HTTP.

    • Node
    • Python
    • {}REST
    Read the docs
  • No-code tools

    Call the REST API from an HTTP step in n8n, Make or Zapier. One request posts to every network.

    • n8n
    • Make
    • Zapier
    Postkey with n8n
  • AI agents & MCP

    The MCP server lets Claude, Cursor and other agent tools publish and schedule posts, and read the results.

    • MCP server
    About the MCP server

Questions

Something not here? Email hello@postkey.dev.

Do I have to upload to Postkey?

No. If the file already has a public URL that the network can fetch without logging in, put that URL in mediaItems.

How much can I store?

Free projects can store up to 100 MB of media. Any paid plan or credit pack removes that cap. Delete files you no longer need with DELETE /v1/media.

How many files can one post have?

Up to 10 files per post in the dashboard, at up to 150 MB each. Each network also caps how many images or videos it accepts in one post.

One API for every network.

Get a key, connect an account, send your first request.