v2

latestOpenAPI 3.1.02026-08-075421692.0 MB
Posts

Edit published post

Edit the text of an already-published post. Supported on X (Twitter), Discord, Facebook, and Reddit. Each platform enforces its own rules:

X (Twitter)

  • Connected X account must have an active X Premium subscription
  • Must be within 1 hour of original publish time
  • Maximum 5 edits per tweet (enforced by X)
  • Threads cannot be edited, only single tweets
  • X assigns a NEW post ID on edit, returned as id

Discord

  • No time limit and no premium requirement
  • The message ID is unchanged after the edit

Facebook

  • Graph only permits editing a post that the same app created, so this works on posts published through Zernio and is rejected for posts created in Meta Business Suite / Composer or by another tool
  • Media cannot be swapped, only the message text
  • Reactions, comments, and shares are preserved. The post ID is unchanged

Reddit

  • Self-posts only. A link post has no editable body and is rejected before the write
  • Body only. Reddit exposes no API to edit a post title, ever
  • The post ID is unchanged

Media edits are not supported on any platform. The post record in Zernio is updated with the new content and an edit-history entry.

post/v1/posts/{postId}/edit

Path parameters

postIdstring required

Request body

platform'twitter' | 'discord' | 'facebook' | 'reddit' required

The platform to edit the post on.

contentstring required

The new post text content

Response

Post edited successfully

successboolean
idstring

The platform post ID after the edit. X assigns a new ID; Discord, Facebook, and Reddit return the original ID unchanged.

urlstring uri

URL of the edited post

messagestring