Public/Get-GCNotificationChannels.ps1

<#
.SYNOPSIS
    Retrieves a list of notification channels.

.DESCRIPTION
    Returns the list of notification channels for the current user in Genesys Cloud.
    Uses the GET /api/v2/notifications/channels endpoint.

.EXAMPLE
    Get-GCNotificationChannels

.NOTES
    Genesys Cloud API: GET /api/v2/notifications/channels
#>

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

    $endpoint = "notifications/channels"
    return Invoke-GCApiRequest -Endpoint $endpoint -Method GET
}