Can I create posts on behalf of another user via REST?

Noah Bennett Noah Bennett 1 month ago

For a cross-posting integration I need to create a post attributed to a specific member, not the API user. Is there a supported way to set the author on POST /posts?

1

For what it is worth, the same approach works with the PMPro adapter — the membership side is identical from here.

Thanks for writing this up. Bookmarking it — the kind of thing I will want to reference again in a month.

This is the answer I wish I had found six months ago. Would have saved me a weekend of trial and error.