How can an API user create posts as another user?

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!