# 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:** 6

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [September 3, 2024, 10:19pm UTC](https://meta.discourse.org/t/getting-markdown-for-a-post-using-api/324716/6 "2024-09-03T22:19:11Z")

</div>

> [@mcmcclur](#):
>
> As far as I can tell from the discussion so far, the answer is  
> _ **No** , we cannot get the text of a post in Markdown form via the Discourse API_.

I think you are talking about the `topic/SLUG/id.json` endpoint?

If so, then by adding `?include_raw=true` to the endpoint the JSON for the posts in the topic will include raw.

---

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