# How can an API user create posts as another user?

**URL:** <https://meta.discourse.org/t/how-can-an-api-user-create-posts-as-another-user/45968>\
**Category:** Development\
**Created:** [17 juni 2016 om 18:03 UTC](https://meta.discourse.org/t/how-can-an-api-user-create-posts-as-another-user/45968 "2016-06-17T18:03:31Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![dariKG](https://avatars.discourse-cdn.com/v4/letter/d/c2a13f/32.png) [@dariKG](https://meta.discourse.org/u/dariKG)\
**Post date:** [16 oktober 2020 om 14:39 UTC](https://meta.discourse.org/t/how-can-an-api-user-create-posts-as-another-user/45968/9 "2020-10-16T14:39:26Z")

</div>

Hi everyone,

I am writing because I am trying to populate my forum with posts made by a set of users from another old forum.

On the docs it is explained how to create a post via the API, but I am unsure on how to do it make these posts appear as being from a specific user. The solution proposed above seems to no longer work.

Is there a field where I could enter the user name? I can’t find it in the docs.

Thank you for your help!

---

_[View the full topic](https://meta.discourse.org/t/how-can-an-api-user-create-posts-as-another-user/45968)._
