Public/Get-GCSocialMediaTopic.ps1
|
<# .SYNOPSIS Retrieves a single social media topic by ID. .DESCRIPTION Returns the details of a specific social media topic from Genesys Cloud. Uses the GET /api/v2/socialmedia/topics/{topicId} endpoint. .PARAMETER TopicId The unique identifier of the social media topic to retrieve. .EXAMPLE Get-GCSocialMediaTopic -TopicId 'a1b2c3d4-e5f6-7890-abcd-ef1234567890' .NOTES Genesys Cloud API: GET /api/v2/socialmedia/topics/{topicId} #> function Get-GCSocialMediaTopic { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [string]$TopicId ) $endpoint = "socialmedia/topics/$TopicId" return Invoke-GCApiRequest -Endpoint $endpoint -Method GET } |