Looking for advice on muting an agent’s microphone during an active call using the Genesys Cloud JavaScript SDK. I’m calling client.interactionApi.interactionInteractionUpdateInteraction but the mic stays on. The payload looks right to me.
const payload = {
type: 'interaction',
actions: [{ type: 'mute', target: 'audio' }]
};
await client.interactionApi.interactionInteractionUpdateInteraction(interactionId, payload);
No errors thrown, but nothing happens. What’s the correct payload structure for this endpoint?