Can we modify Created by using REST API for multiple post

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.

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.