Public/Get-GCRecordings.ps1
|
<# .SYNOPSIS Retrieves recordings for a conversation from Genesys Cloud. .DESCRIPTION Queries the Genesys Cloud API to retrieve all recordings associated with a specific conversation. API Endpoint: GET /api/v2/conversations/{conversationId}/recordings .PARAMETER ConversationId The unique identifier of the conversation whose recordings to retrieve. .EXAMPLE Get-GCRecordings -ConversationId 'conv-abc123' Retrieves all recordings for the specified conversation. .NOTES Genesys Cloud API: GET /api/v2/conversations/{conversationId}/recordings #> function Get-GCRecordings { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [string]$ConversationId ) $endpoint = "conversations/$ConversationId/recordings" return Invoke-GCApiRequest -Endpoint $endpoint -Method GET } |