Skip to main content
POST
Approve and publish a post
Set postNow: true to publish immediately. This does not generate images; it only moves an already-generated post to publishing.

Authorizations

Authorization
string
header
required

Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side, so never send a shop id.

Path Parameters

id
string
required

The planned post's id (Mongo ObjectId).

Body

application/json
postNow
boolean
default:false
scheduledAt
string<date-time>

Response

200 - application/json

The approved post.

Standard Salesive response envelope. The operation-specific payload is carried in data.

status
integer
required
success
boolean
required
message
string
required
data
object

A planned post. kind: "ai" generates its images from prompt; kind: "manual" publishes the files in media.