# Can we modify Created by using REST API for multiple post

**URL:** https://meta.discourse.org/t/can-we-modify-created-by-using-rest-api-for-multiple-post/108131
**Category:** Feature
**Created:** [February 1, 2019, 2:35pm UTC](https://meta.discourse.org/t/can-we-modify-created-by-using-rest-api-for-multiple-post/108131 "2019-02-01T14:35:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![avik](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@avik](https://meta.discourse.org/u/avik)
#### Post date: [February 1, 2019, 2:35pm UTC](https://meta.discourse.org/t/can-we-modify-created-by-using-rest-api-for-multiple-post/108131/1 "2019-02-01T14:35:36Z")

</div>

I want to create posts with different user using API.  
in other words : i need to migrate post from other portal to Discource environment .

By using Rest API i am able to create posts but the user who created is api\_user\_name become post creator in this case.

Could anyone let me if it is feasible from Rest API to create POSTs on behalf of other user ?  
if possible please elaborate dependencies to achieve it.

Note : I have only access to REST API , please suggest REST API approach only.

Thank You.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 1, 2019, 3:18pm UTC](https://meta.discourse.org/t/can-we-modify-created-by-using-rest-api-for-multiple-post/108131/2 "2019-02-01T15:18:12Z")

</div>

Can you back up a bit? What is the problem that you’re trying to solve? Is it moving data from another forum to discourse once, or continually? If it’s the former, you want to use an import script rather than the API.
