# Getting Markdown for a post using API

**URL:** https://meta.discourse.org/t/getting-markdown-for-a-post-using-api/324716
**Category:** Development
**Tags:** rest-api
**Created:** [September 3, 2024, 4:16pm UTC](https://meta.discourse.org/t/getting-markdown-for-a-post-using-api/324716 "2024-09-03T16:16:36Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [September 3, 2024, 4:26pm UTC](https://meta.discourse.org/t/getting-markdown-for-a-post-using-api/324716/4 "2024-09-03T16:26:21Z")

</div>

I am not sure with the API but this is another method of getting raw post.

> [@Using AI to create Hide content bbcode wrapper](https://meta.discourse.org/t/using-ai-to-create-hide-content-bbcode-wrapper/321078/2):
>
> That’s very cool! The caveat, which you likely know, is that the text is available several ways since it’s just hidden with css. One is this post route: /posts/123/raw

And a topic with similar request.

> [@Raw Post Body for POST API](https://meta.discourse.org/t/raw-post-body-for-post-api/85128):
>
> Is there a way to view an existing post I’ve created and what that looks like if I want to use it for a a template when making a POST api request with the “raw” field? Thanks!

---

_[View the full topic](https://meta.discourse.org/t/getting-markdown-for-a-post-using-api/324716)._
