Actions25
- Post Actions
- Topic Actions
- Upload Actions
Post → Get
AI-generatedSummary
Retrieves a specific Discourse post by ID or URL.
Inputs
- postId (required) — The ID of the post to retrieve or the URL to the post. Supports ID mode (e.g., 456) or URL mode (e.g., https://forum.example.com/p/456).
- simplify — Whether to return a simplified version of the response instead of the raw data.
Output shape
a list of items containing the requested post(s).
If Simplify is disabled, the raw Discourse API response is returned. If Simplify is enabled (default), the data is simplified via the helper function
simplifyPost.
Examples
Example 1: Retrieve a post by its numeric ID.
Set Post ID to '12345' and Simplify to true.
Example 2: Retrieve a post by its full URL.
Set Post ID to the URL 'https://community.example.com/t/example-topic/123/456' and Simplify to true.