How to create a new chat room using API?

Can someone explain by a clear example how to manage conversations using API?
I can easly create a new user calling the following API:
https://myuser:mypassword@myhost/ocs/v1.php/cloud/users
and sending POST data as userid and password of the user I want to create.

Is there a way to do the same to create a new chat room?

https://nextcloud-talk.readthedocs.io/en/latest/conversation/#creating-a-new-conversation

Thanks, the problem was that the API address was relative to v4 and my version is v2

Right, Conversations management - Nextcloud Talk API documentation it is