Change a post that hasn't gone out
Caption, attachments, time, per-platform options — anything omitted is kept. It takes the composer's own edit path: a new post supersedes the old one, so guardrails, caps and the signature all run again on the words that will actually be published (and the response carries the NEW id). Any post in the project that hasn't gone out — pending_approval / draft / scheduled / rejected, whoever wrote it. An agent's edit of a post a human approved (or rejected) goes back into the queue, because the approval was for the old words. A post that has already been tried can't be edited: retry the delivery that failed instead.
patch/posts/{id}
Request
- Base URL: https://xpost.to/api/v1
- URL: https://xpost.to/api/v1/posts/{id}
- Auth: HTTP bearer
Path parameters
idstring uuid required
Request body
Example request
{
"platform_configurations": {
"instagram": {
"placement": "stories"
},
"x": {
"first_comment": "Link in this comment 👇"
}
}
}Response
Edited — note the new id
Changes
No recorded changes to this operation across all 1 revision of this API.