Update a post
Use PUT /v0/posts/{id} to change a post that hasn't published yet — for example to fix a
caption or move its scheduled time.
curl -X PUT https://api.schedulin.app/v0/posts/post_789 \ -H "x-api-key: sk_live_..." \ -H "Content-Type: application/json" \ -d '{ "caption": "Updated caption ✨", "scheduledAt": "2026-06-08T12:00:00Z" }'
import { SchedulinClient } from "@schedulin/sdk"; const client = new SchedulinClient({ apiKey: process.env.SCHEDULIN_API_KEY }); await client.posts.update({ id: "post_789", caption: "Updated caption ✨", scheduledAt: "2026-06-08T12:00:00Z", });
from schedulin import Schedulin client = Schedulin(api_key=os.environ["SCHEDULIN_API_KEY"]) client.posts.update( id="post_789", caption="Updated caption ✨", scheduled_at="2026-06-08T12:00:00Z", )
TIP
To publish a draft immediately, call instead.