List the Nextcloud Talk (chat) IDs

I have a quick question:

You can write CURL commands so that you can send messages to different groups/persons. This is always done via the USER ID.
But is there a way to use such a command to list all available USER IDs of a user in NC 29 and authentication via password?

Many thanks in advance for your answers,
schBenedikt