Genesys Web Messaging SDK: Proactive message to returning guest

Trying to push a proactive notification to a web guest who chatted with us last week. The documentation is sparse on re-engaging existing users via the JavaScript SDK. I’m initializing the widget like this:

const widget = gcWebMessaging.create({
 clientKey: 'my-key',
 userId: 'existing-guest-id'
});

The widget loads, but widget.sendProactiveMessage() isn’t a recognized method. Is there a specific API endpoint I need to hit server-side to trigger this, or is this purely a Studio flow requirement? Running into walls here.

The SDK doesn’t handle proactive messages because that’s a server-side decision, not a client-side feature. You’re mixing up widget initialization with outbound engagement logic.

  • Check the Web Messaging API docs for /api/v2/conversations/messaging endpoints instead.
  • Look into using the Genesys Cloud API to create a conversation programmatically if you need server-triggered outreach.