Public/Get-GCRecordingSettings.ps1

<#
.SYNOPSIS
    Retrieves recording settings from Genesys Cloud.

.DESCRIPTION
    Queries the Genesys Cloud API to retrieve the current organization-wide
    recording settings configuration.
    API Endpoint: GET /api/v2/recording/settings

.EXAMPLE
    Get-GCRecordingSettings
    Retrieves the current recording settings for the organization.

.NOTES
    Genesys Cloud API: GET /api/v2/recording/settings
#>

function Get-GCRecordingSettings {
    [CmdletBinding()]
    param()

    $endpoint = "recording/settings"
    return Invoke-GCApiRequest -Endpoint $endpoint -Method GET
}