How to get the uuid of the custom voice?

You can use the GET voices api to get a list of your voices:
This endpoint retrieves voices.