Trying to mute the local agent microphone via the JavaScript SDK during an active conversation. I have the conversationId and participantId. Calling conversationsApi.postConversationsParticipantMute with the standard payload returns a 403 Forbidden.
await client.conversationsApi.postConversationsParticipantMute(conversationId, participantId, {
muted: true
});
The token has conversation:agent:write scope. The participant is the caller, not the agent. The API docs say this endpoint controls the participant’s audio state. Is there a separate endpoint for the local client state, or am I hitting a permission boundary on the participant resource? The error response is just {"code": "forbidden", "message": "Forbidden"}.