Publish a Held Post
Send a draft or scheduled post to its platforms now
Published
Overview#
Publishes a draft or scheduled post immediately, to the accounts it already targets. This is the step that puts the post in front of an audience, and it cannot be undone through Orshot.
To change what goes out, edit the post first.
https://api.orshot.com/v1/social/posts/{postId}/publishRequest#
await fetch("https://api.orshot.com/v1/social/posts/512/publish", {
method: "POST",
headers: {
Authorization: "Bearer <ORSHOT_API_KEY>",
},
});No request body is needed — the post already carries its caption, media and accounts.
Response Fields#
| Field | Type | Description |
|---|---|---|
post | Object | The updated post. See List Social Posts |
status | String | Overall outcome: published, processing, partial or failed |
platforms | Array | Per-account results |
platforms[].url | String | Link to the live post, when the platform returns one immediately |
platforms[].error | String | Why an account failed |
platforms[].action | String | Suggested recovery, e.g. reconnect for an expired token |
A processing status means every targeted platform publishes asynchronously and the post is still in flight. Sync the post to pick up the final URLs.
A partial status means some accounts succeeded and others did not — check each entry in platforms.
Error Responses#
Post already sent (400)#
{
"error": "Only draft or scheduled posts can be published"
}Not found (404)#
{
"error": "Post not found"
}Publish failed (500)#
{
"error": "Failed to publish post",
"message": "Account token expired — reconnect required"
}Rate Limits#
- 20 requests per minute per workspace, shared across all social endpoints
Ready to automate?
Start rendering images, PDFs and videos from your templates in under 2 minutes. Free plan, no credit card.
Get your API key- Image, PDF and video generation via API
- Visual editor with AI and smart layouts
- Zapier, Make, MCP and 50+ integrations
- White-label embed for your own app
- 30 free credits — no credit card required