Public/Get-GCConversation.ps1
|
<# .SYNOPSIS Retrieves a single conversation by ID. .DESCRIPTION Gets the details of a specific conversation from Genesys Cloud. Calls GET /api/v2/conversations/{conversationId}. .PARAMETER ConversationId The unique identifier of the conversation to retrieve. .EXAMPLE Get-GCConversation -ConversationId 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' .NOTES Genesys Cloud API: GET /api/v2/conversations/{conversationId} #> function Get-GCConversation { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [string]$ConversationId ) $endpoint = "conversations/$ConversationId" return Invoke-GCApiRequest -Endpoint $endpoint -Method GET } |