We need to inject a CRM customer ID into the session when initiating a chat via the Web Messaging SDK. The documentation for startChat() is sparse regarding custom attributes.
const config = {
conversationId: null,
// where does the CRM ID go?
};
window.GenesysCloudMessaging.startChat(config);
Should this be passed in the data object or via a separate API call beforehand? The attribute isn’t appearing in the webhook payload currently.