Discourse Extended icon

Discourse Extended

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

Post → Update

AI-generated

Summary

Updates a specific Discourse post by ID or URL, allowing authors to modify the raw content and edit reason.

Inputs

  • postId (required) — The ID or URL of the post to update. Accepts either a numeric ID or a full URL (e.g., https://forum.example.com/p/456).
  • updateFields — A collection of fields to update. Currently supports: 'Raw' (the text content of the post) and 'Edit Reason' (a text string explaining the change).

Output shape

one item per input item, containing the updated post data.

The operation returns the full post object from the Discourse API, including the updated content.

Examples

Example 1: Fix a typo in a post.

Set 'Post ID or URL' to the post's ID (e.g., 123). In 'Update Fields', add 'Raw' with the corrected text.

Example 2: Update a post with a note.

Set 'Post ID or URL' to the post's URL. In 'Update Fields', add 'Edit Reason' with the explanation.

Links

Discussion