Skip to main content
POST
Approve a prompt-only draft
Approving a draft is what starts image generation, so it spends the store’s AI credits and carries the extra grant.

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).

Response

The post is scheduled for generation.

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.