Approve or reject a waiting post (dashboard session only)

Only a person signed in to the PostWire dashboard can call this: an API key made in API & MCP, an AI connector or any other source gets 403 approval_requires_human — an agent can never approve its own post. Approve all networks, or only networks; edits replaces a network's text before it goes out; run_at sets a new time. A post whose time is now or has passed is published at once and the response carries each network's result; a post approved before its time goes out at that time. Reject keeps reason, shown to whoever sent it. One decision wins: a second one answers 409 not_pending.

post/api/approvals/{id}/decision

Request

  • Base URL: https://postwire.io
  • URL: https://postwire.io/api/approvals/{id}/decision
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Request body

action'approve' | 'reject' required
networksstring[]

Approve only these networks of the post; the others are dropped from it. Default: all.

editsobject

{ "<network>": { "text": "…", "title": "…" } } — the approved text for that network.

run_atstring date-time

Publish at this time instead (not in the past, up to 365 days ahead).

reasonstring

Why it was rejected (or a note with an approval).

Response

{ ok, decision: approved|rejected, approval, late (its time had passed), post: { id, status, run_at, platforms }, results? (when it was published now), message }

Changes

No recorded changes to this operation across all 1 revision of this API.