How to understand the Virtual Host idea?

Hello, I’m fighting for the past 6 months (in total) the API, the documentation and the approach that I should have, and I can’t figure it out. 

I have a simple need, I want to make a meeting with the API, and whoever joins, should be able to start recording, and should not get a message that the host is not present yet. 

What I understand is this:

  • From the API how can I make a Virtual User

  • Once created (if possible) how do I add it to the meeting?

I really just want to have this cloud recording working

And I have a Pro account, and have enabled recording in the settings of my account.

From the API how can I make a Virtual User

This approach is only useful if you’re on the API plan, meaning you are paying per minute.

Once created (if possible) how do I add it to the meeting?

When you create a meeting you need to supply a host id, this could be a user associated with a real person, or a user that is “virtual”. When creating a meeting you set “auto_recording” to “cloud” and “join_before_host” to true