# Posting a new topic via API

**URL:** <https://meta.discourse.org/t/posting-a-new-topic-via-api/93539>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [July 31, 2018, 5:44am UTC](https://meta.discourse.org/t/posting-a-new-topic-via-api/93539 "2018-07-31T05:44:55Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [January 29, 2025, 11:11am UTC](https://meta.discourse.org/t/posting-a-new-topic-via-api/93539/8 "2025-01-29T11:11:25Z")

</div>

You must use the `uploads` endpoint: [https://docs.discourse.org/#tag/Uploads](https://docs.discourse.org/#tag/Uploads)  
Then, use the returned `short_url` value to insert it in your post.

---

_[View the full topic](https://meta.discourse.org/t/posting-a-new-topic-via-api/93539)._
