Discourse Extended icon

Discourse Extended

Read and manage Discourse AI artifacts, categories, posts, topics, personal messages, uploads, and Data Explorer queries

Post → Recover

AI-generated

Summary

Recovers a deleted or hidden Discourse post by posting it again to the same topic.

Inputs

  • postId (required) — The ID or URL of the post to recover. Use ID mode for a simple number, or URL mode for a full or partial link (e.g., /p/123 or /t/topic-slug/123/4).

Output shape

a single record

The output mirrors the standard 'Get Post' response, including the newly restored post data.

Examples

Example 1: Restore a post deleted from a topic

Set Post ID to 456 (ID mode) to fetch and repost the post.

Example 2: Restore a post using its URL

Set Post ID to https://forum.example.com/p/456 (URL mode).

Links

Discussion