Postifuse Docs

Posts

Publish now

POSThttps://postifuse.com/v1/posts/{id}/publish

Publishes a draft now, or brings a scheduled post forward. It is also the retry: accounts already delivered are skipped, so a retry never posts twice.

When a network does not confirm in time, the account is unconfirmed: Postifuse looks for the post on that account before any retry, and if it cannot tell, it stops and says so rather than risk a duplicate. Refused while an approval is pending.

curl --request POST \
  --url 'https://postifuse.com/v1/posts/id_1/publish' \
  --header 'Authorization: Bearer pf_live_…' \
  --header 'Idempotency-Key: publish-post-1'
{
  "id": "pst_42",
  "status": "publishing",
  "targets": [
    {
      "account": "acc_ig",
      "status": "delivered",
      "url": "https://www.instagram.com/reel/…"
    },
    {
      "account": "acc_tt",
      "status": "unconfirmed"
    }
  ]
}

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.

Response

200One target per account
403Workspace not active