Create a post and PlugKit publishes it to the connected account(s) in the
profile.
curl -X POST https://api.plugkit.co/v1/posts \
-H "Authorization: Bearer sk_your_key" \
-H "Content-Type: application/json" \
-d '{
"profileId": "YOUR_PROFILE_ID",
"content": "Launch day 🚀",
"mediaUrls": ["https://example.com/photo.jpg"]
}'
The response includes a per-account result with the live platformPostUrl once
publishing succeeds.
Instagram publishing is a two-step process (create media container, then
publish). PlugKit handles both steps for you.
If you don’t have a public image URL, upload the file first:
curl -X POST https://api.plugkit.co/v1/media/upload \
-H "Authorization: Bearer sk_your_key" \
-F "file=@./photo.jpg"
It returns a public URL you can pass in mediaUrls.
See all fields
Open POST /v1/posts in the API Reference to try it live.