Postifuse Docs

Posts

Edit a post

PATCHhttps://postifuse.com/v1/posts/{id}

Edits a draft or a scheduled post. Send only what changes. Preflight runs again on the new version.

curl --request PATCH \
  --url 'https://postifuse.com/v1/posts/id_1' \
  --header 'Authorization: Bearer pf_live_…' \
  --header 'Idempotency-Key: update-post-1' \
  --header 'Content-Type: application/json' \
  --data '{
  "publish_at": "2027-01-09T08:00:00Z"
}'
{
  "id": "pst_42",
  "status": "scheduled",
  "publish_at": "2027-01-09T08:00:00Z"
}

Headers

Authorizationstringrequired

Bearer followed by a workspace key, a profile key or an OAuth token. See authentication.

Example Bearer pf_live_…

Idempotency-Keystringrequired

Any unique string. The same key within 24 h returns the same result and posts nothing twice.

Path parameters

idstringrequired

The post id.

Body application/json

accountsarray<string>

New target accounts, all in the same profile.

textstring

New text.

mediaarray<string>

New media ids.

publishstring

now publishes at once.

One of now

publish_atstring<date-time>

New time, ISO 8601 UTC.

Example 2027-01-09T08:00:00Z

overridesobject

Per-network text, YouTube title, or X thread.

Show 3 child attributes (per network)
textstring
titlestring
threadboolean

Response

200The post
403Workspace not active