Public/New-GCSocialMediaTopic.ps1
|
<# .SYNOPSIS Creates a new social media topic. .DESCRIPTION Creates a new social media topic in Genesys Cloud. Uses the POST /api/v2/socialmedia/topics endpoint. .PARAMETER Body The social media topic definition object. .EXAMPLE $topicBody = @{ name = 'Brand Mentions' } New-GCSocialMediaTopic -Body $topicBody .NOTES Genesys Cloud API: POST /api/v2/socialmedia/topics #> function New-GCSocialMediaTopic { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [object]$Body ) $endpoint = "socialmedia/topics" return Invoke-GCApiRequest -Endpoint $endpoint -Method POST -Body $Body } |