Trying to inject a CRM customer ID into the Genesys Cloud Web Messaging SDK startChat() method. The docs show a customAttributes field in the configuration, but it’s not clear if that persists to the conversation metadata or just the widget state. Here’s the snippet:
const chatConfig = {
queueId: 'abc-123',
customAttributes: {
crmId: 'CUST-999'
}
};
await sdk.startChat(chatConfig);
The chat initiates fine, but the attribute doesn’t show up in the /api/v2/conversations/messaging payload. Is there a specific key format required for external CRM data, or does this need a separate PATCH call after the conversation is created?