# Is there a way to post as an arbitrary user when creating a new post/topic using the Discourse API?

**URL:** <https://meta.discourse.org/t/is-there-a-way-to-post-as-an-arbitrary-user-when-creating-a-new-post-topic-using-the-discourse-api/61477>\
**Category:** Product Support\
**Created:** [Abril 24, 2017, 12:25am UTC](https://meta.discourse.org/t/is-there-a-way-to-post-as-an-arbitrary-user-when-creating-a-new-post-topic-using-the-discourse-api/61477 "2017-04-24T00:25:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)\
**Post date:** [Abril 24, 2017, 12:28am UTC](https://meta.discourse.org/t/is-there-a-way-to-post-as-an-arbitrary-user-when-creating-a-new-post-topic-using-the-discourse-api/61477/2 "2017-04-24T00:28:27Z")

</div>

What API key are you using? The system-level one should, I believe, allow you to impersonate any other user via the `api_username` query parameter.

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-way-to-post-as-an-arbitrary-user-when-creating-a-new-post-topic-using-the-discourse-api/61477)._
