Trying to push custom CSS variables for the Web Messaging launcher through the deployment API. I’ve got a deployment config JSON that looks correct on paper, but the UI isn’t picking up the changes.
{
"deploymentType": "WEB",
"settings": {
"launcherPosition": "BOTTOM_RIGHT",
"colors": {
"primary": "#1a1a1a",
"secondary": "#f0f0f0",
"text": "#ffffff"
}
}
}
Sending this via PUT /api/v2/deployments/{deploymentId} returns a 200 OK. The response confirms the update. But when I reload the chat widget in the browser, the launcher stays in the default position and the colors are the stock Genesys blue. I’ve cleared cache, hard refreshed, even tried a different browser. No luck.
Is there a specific flag or additional property needed to force the SDK to re-render with these settings? Or am I missing a step in the deployment lifecycle that triggers the UI update? The docs mention these properties but don’t specify if they require a separate publish step or if they’re applied immediately upon config update. Any pointers on the correct JSON structure or API sequence would be appreciated. I’ve checked the network tab and the config is definitely being fetched by the widget.