$headers = @{ "Authorization" = "Bearer your_api_key" "Content-Type" = "application/json" } Invoke-RestMethod -Uri "https://api.elevenlabs.io/v1/voices" -Method Get -Headers $headers