API referencePublished posts
POST /posts/{id}/edit
Edit the text of the post on the platform (Facebook; Telegram text or caption, keeping the post's parseMode; Discord message text; X Premium within 1 hour, as a new post id; the Postgale post keeps its text). Queued for approval (202) while approval applies
POST
BearerAuthheader
AuthorizationBearer <token>API key sk_...
id*stringPostgale post id
application/json- body
content*stringLength
length <= 40000accountId?stringOnly this target
{postId, results}: per target; with one target (or accountId) its failure is the error
application/json- response
postId?stringresults?array<>curl -X POST 'https://example.com/api/v1/posts/string/edit' \ -H 'Content-Type: application/json' \ -d '{ "content": "string"}'Example Response
{ "postId": "string", "results": [ { "accountId": "string", "platform": "string", "platformPostId": "string", "ok": true, "code": "string", "error": "string" } ]}POST /posts/{id}/reject POST
Not available to API keys: rejection is dashboard-only (always 403)
POST /posts/{id}/unpublish POST
Delete the post from the platform (Facebook, Threads, X, Telegram: every message of an album; Discord; Bluesky and Mastodon: the post, or a thread's first post; Instagram does not allow it → not_supported). The Postgale post stays