Public/Get-GCSystemPresences.ps1

<#
.SYNOPSIS
    Retrieves the system presence definitions from Genesys Cloud.

.DESCRIPTION
    Queries the Genesys Cloud API to retrieve the list of system-defined presence states.
    These are the built-in presence states that cannot be modified (e.g., Available, Away, Busy, Offline).
    API Endpoint: GET /api/v2/systempresences

.EXAMPLE
    Get-GCSystemPresences
    Retrieves all system presence definitions.

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

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

    $endpoint = "systempresences"
    return Invoke-GCApiRequest -Endpoint $endpoint -Method GET
}