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?

4

One caveat for larger communities: keep an eye on the indexes. At a few thousand rows the difference is night and day.

Could you say more about how you measured the result? I want to try this but I am not sure what success would look like.

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

Strong agree. Good defaults beat a wall of toggles every single time.

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