How can an API user create posts as another user?

「すべてのユーザー」用に API キーを作成した場合:

その後、API リクエストを行う際に Api-Username ヘッダーで、投稿を作成したいユーザー名を指定できます。