Skip to content

Edit published post

Edit a published post on a social media platform. Currently only supported for X (Twitter).

Requirements:

  • 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)
  • Text-only edits (media changes are not supported)

The post record in Zernio is updated with the new content and edit history.

POST /v1/posts/{postId}/edit

Edit a published post on a social media platform. Currently only supported for X (Twitter).

Requirements:

  • 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)
  • Text-only edits (media changes are not supported)

The post record in Zernio is updated with the new content and edit history.

Parameters

  • postId (path, string) required

Request body

Content-Type: application/json

  • platform (string) required (enum: twitter) — The platform to edit the post on. Currently only twitter is supported.
  • content (string) required — The new tweet text content

Example:

json

{
  "platform": "twitter",
  "content": "Updated tweet text with corrected information"
}

Responses

200 — Post edited successfully

  • success (boolean)
  • id (string) — New tweet ID assigned by X after edit
  • url (string) — URL of the edited tweet
  • message (string)

400 — Invalid request: platform not supported, post not published, edit window expired, not Premium, or missing content.

401

403 — Forbidden

404

500 — Platform API edit failed