PeumeAPI

Social publishing & inbox

Update post

Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config and `externalId` updated: to change the text of a live post, use `POST /v1/posts/{postId}/edit`.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/update-post \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "postId": "your postId",
    "publishNow": false
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: update-post.

Parameters

postIdRequiredstring
titlestring

Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted).

contentstring
mediaItemsarray
platformsarray

Target platforms and accounts for this post. Each item must include platform and accountId.

scheduledForstring
publishNowboolean

Example: false

isDraftboolean

When omitted, the post keeps its current draft status. Send `false` to promote a draft to scheduled (combined with `scheduledFor`, `publishNow`, or a queue).

requiresApprovalboolean

Send true on a draft to submit it for approval: it becomes pending_approval and publishes only after POST /v1/posts/{postId}/review approves it, and fires the post.pending_approval webhook. Cannot be combined with isDraft, publishNow, queuedFromProfile or queueId. Returns 409 when the post is not a draft.

timezonestring
visibilitystring

public · private · unlisted

tagsarray
hashtagsarray

Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead.

mentionsarray
crosspostingEnabledboolean
metadataobject
externalIdstring

Your own identifier for this post (see `externalId` on create). Send `null` to clear it. Also accepted on published posts.

queuedFromProfilestring

Profile ID to schedule via queue.

queueIdstring

Specific queue ID to use when scheduling via queue.

tiktokSettingsobject

tiktokSettings

facebookSettingsobject

facebookSettings

recyclingobject

recycling

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.