I’m trying to programmatically update our Genesys Cloud Web Messaging deployment to change the launcher’s position and theme colors. We’ve been manually adjusting these in the admin UI, but we need to automate this as part of our CI/CD pipeline using the Genesys Cloud Platform API.
I’m using the PATCH /api/v2/webmessaging/deployments/{deploymentId} endpoint. Here’s the JSON payload I’m sending:
{
"launcher": {
"position": "bottom-right",
"color": "#007bff",
"icon": "chat"
}
}
The API returns a 200 OK status, but the changes don’t reflect in the UI or the live widget. When I fetch the deployment details with GET /api/v2/webmessaging/deployments/{deploymentId}, the launcher settings remain unchanged. I’ve verified the deployment ID is correct and that I have the necessary permissions.
Is there a specific structure or additional fields required in the request body for the launcher configuration? Or is there a separate endpoint for updating the widget’s appearance? I want to ensure our New Relic dashboards capture the deployment updates correctly, but I’m stuck on this API call. Any insights would be appreciated.