I’m attempting to send a PM through the API. (This is intended for a game in which each player is dealt a hand of cards, so it does need to be private.)
I’m sending a request with appropriate values for raw, title and target_usernames, and getting back {"action":"create_post","errors":["Category can't be blank"]} with a 422 Unprocessable Entity.
If I set a category, it ignores target_usernames and creates a topic in that category.
If someone is successfully creating and sending PMs using the API, could you post an example with your full request body schema?