# Creating a new topic on behalf of a user

**URL:** <https://meta.discourse.org/t/creating-a-new-topic-on-behalf-of-a-user/122624>\
**Category:** Product Support\
**Created:** [July 11, 2019, 5:28am UTC](https://meta.discourse.org/t/creating-a-new-topic-on-behalf-of-a-user/122624 "2019-07-11T05:28:47Z")\
**Posts on this page:** 4\
**Page:** 1

## AI-generated summary

[eoin](/t/-/122624/1) asks how to programmatically create topics on behalf of specific users, noting that using Zapier results in posts being attributed to the admin user. [tshenry](/t/-/122624/2) suggests using the Discourse API to post as a specific user, providing a link to the [API documentation](/t/-/122624/2).

<div class="post-metadata">

**Author:** ![eoin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eoin/32/123786_2.png) [@eoin](https://meta.discourse.org/u/eoin)\
**Post date:** [July 11, 2019, 5:28am UTC](https://meta.discourse.org/t/creating-a-new-topic-on-behalf-of-a-user/122624/1 "2019-07-11T05:28:48Z")

</div>

How may we set up a system where a topic is programmatically created on behalf of a specific user?

I’ve looked at doing this from Zapier, although it looks like a new post will always be by the admin user.

Eoin

---

<div class="post-metadata">

**Author:** ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)\
**Post date:** [July 11, 2019, 8:26am UTC](https://meta.discourse.org/t/creating-a-new-topic-on-behalf-of-a-user/122624/2 "2019-07-11T08:26:11Z")

</div>

Hey there. I’m not sure what your system would involve, but you can certainly post a topic as a specific user using the Discourse API.

> [@Discourse REST API Documentation](https://meta.discourse.org/t/discourse-api-documentation/22706):
>
> Discourse API Please view the Discourse API Documentation site for detailed info: [https://docs.discourse.org](https://docs.discourse.org)information_source Authentication API requests must use HTTP header based authentication. Pass your Api-Key and Api-Username as HTTP headers. Authentication via query parameters or request body is not supported (this was removed in April 2020). Please see the example cURL request below. The only API endpoints that continue to support credentials in query parameters are requests to…

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [January 1, 2023, 2:29am UTC](https://meta.discourse.org/t/creating-a-new-topic-on-behalf-of-a-user/122624/3 "2023-01-01T02:29:19Z")

</div>

Automatically bumped on January 1, 2023, 2:29am UTC



---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [January 1, 2023, 4:37am UTC](https://meta.discourse.org/t/creating-a-new-topic-on-behalf-of-a-user/122624/4 "2023-01-01T04:37:53Z")

</div>

Closed on January 1, 2023, 4:37am UTC


