# Updating topic body via the API

**URL:** <https://meta.discourse.org/t/updating-topic-body-via-the-api/61220>\
**Category:** Support\
**Created:** [19.Апрель.2017 02:30:27 UTC](https://meta.discourse.org/t/updating-topic-body-via-the-api/61220 "2017-04-19T02:30:27Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![kennym](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kennym/32/115557_2.png) [@kennym](https://meta.discourse.org/u/kennym)\
**Post date:** [19.Апрель.2017 02:30:27 UTC](https://meta.discourse.org/t/updating-topic-body-via-the-api/61220/1 "2017-04-19T02:30:27Z")

</div>

I’m trying to update a topic body via the API, but I’m not sure how to do it.

I tried to use `POST /posts/` and providing it with the `topic_id` which only creates a new post for a topic.

I also tried `PUT /posts/:id` but providing it with the topic id doesn’t update the topic. I actually get a 403.

`PUT /t/:slug/:id` doesn’t seem to be what I’m looking for.

Any advice here, please?

---

_[View the full topic](https://meta.discourse.org/t/updating-topic-body-via-the-api/61220)._
