Assign topics or messages when created via API

I do not see option to create staged user by API: Discourse API Docs

Also here is is recommanded to use handle_email endpoint: Creating a staged user with an API call