Public/New-GCConversationsMessagingIntegrationsOpen.ps1
|
<# .SYNOPSIS Creates an Open messaging integration. .DESCRIPTION Configures a new Open messaging integration in Genesys Cloud. Calls POST /api/v2/conversations/messaging/integrations/open. .PARAMETER Body The request body containing Open messaging integration details such as name, outbound URL, and webhook token. .EXAMPLE $openBody = @{ name = 'My Open Integration' outboundNotificationWebhookUrl = 'https://example.com/webhook' outboundNotificationWebhookSignatureSecretToken = 'secret-token' } New-GCConversationsMessagingIntegrationsOpen -Body $openBody .NOTES Genesys Cloud API: POST /api/v2/conversations/messaging/integrations/open #> function New-GCConversationsMessagingIntegrationsOpen { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [object]$Body ) $endpoint = "conversations/messaging/integrations/open" return Invoke-GCApiRequest -Endpoint $endpoint -Method POST -Body $Body } |