Restore a post from the trash
Brings the post back exactly as it was. Cancelled channels stay cancelled and nothing is rescheduled. A post with a published channel needs the same authority as removing it. Emits post.restored. API keys need publication:delete.
AuthorizationBearer <Postdot API key>A user-owned Postdot API key sent as Authorization: Bearer <token>. Its project scope is limited by the creator’s current access.
projectId*string1 <= lengthpostId*string1 <= lengthResponse for status 200
application/json- response
restored*booleancurl -X POST 'https://postdot.example/api/projects/string/posts/string/restore'{
"restored": true
}Was this page helpful?
Remove a quote once it is posted or no longer wanted DELETE
Previous Page
Save post text and channel drafts in one transaction PUT
Requires editor access and publication:manage. Saves each listed draft against the resulting source revision without promoting content. Omitted targetContent preserves the current draft content. Revision conflicts return error.conflictingPublicationIds (all listed IDs for a source conflict). Delivery mode is stored on the publication and selected immutable target, not the draft; a different mode requires the destination move workflow. scheduledAt is applied publication state: a changed non-null time only reschedules an already scheduled publication, using existing future-time, running-job and cadence guards, and requires publication:dispatch. Scheduling a draft requires promotion; removing a schedule requires the existing lifecycle workflow. Omitted settings remain unchanged. Pending approval requests are superseded exactly as for individual draft saves.