# How to rename a participant using the Zoom Apps SDK?

**URL:** <https://devforum.zoom.us/t/how-to-rename-a-participant-using-the-zoom-apps-sdk/141482>\
**Category:** Realtime Media Streams\
**Created:** [January 23, 2026, 9:45pm UTC](https://devforum.zoom.us/t/how-to-rename-a-participant-using-the-zoom-apps-sdk/141482 "2026-01-23T21:45:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ernst](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ernst/32/73177_2.png) [@Ernst](https://devforum.zoom.us/u/Ernst)\
**Post date:** [January 23, 2026, 9:45pm UTC](https://devforum.zoom.us/t/how-to-rename-a-participant-using-the-zoom-apps-sdk/141482/1 "2026-01-23T21:45:09Z")

</div>

My app has various AI agents participating. I want to be transparent and display the name of the agent currently active on the host computer. How can I do this? Any particluar scope/API I need to activate? FYI: callZoomApi(‘rename’) returns error 10009 (API not supported)

---

<div class="post-metadata">

**Author:** ![Ernst](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ernst/32/73177_2.png) [@Ernst](https://devforum.zoom.us/u/Ernst)\
**Post date:** [January 24, 2026, 2:10am UTC](https://devforum.zoom.us/t/how-to-rename-a-participant-using-the-zoom-apps-sdk/141482/2 "2026-01-24T02:10:40Z")

</div>

I figured it out. Posting the solution (simplified with minimum error checking) here in case some else runs into the same problem:

async function renameParticipant(expertName) {  
// Check if we’re in a meeting  
if (!isAuthenticated || runningContext !== ‘inMeeting’ || !meetingContext) {  
return;  
}

// Check if API is available  
if (!zoomSdk || !zoomSdk.setParticipantScreenName) {  
console.error(‘setParticipantScreenName API not available’);  
return;  
}

// Get participantUUID from userContext or fetch from participants  
let participantUUID = userContext?.participantUUID;

if (!participantUUID && zoomSdk.getMeetingParticipants) {  
const { participants } = await zoomSdk.getMeetingParticipants();  
const currentUser = participants?.find(p =\>  
p.screenName === userContext?.screenName ||  
p.participantUUID === userContext?.participantUUID  
);  
if (currentUser) {  
participantUUID = currentUser.participantUUID;  
}  
}

if (!participantUUID) {  
console.error(‘participantUUID not available’);  
return;  
}

// Call the API  
try {  
const result = await zoomSdk.setParticipantScreenName({  
participantUUID: participantUUID,  
screenName: expertName  
});  
console.log(‘Participant renamed successfully:’, result);  
} catch (error) {  
console.error(‘Failed to rename participant:’, error);  
}  
}

---

<div class="post-metadata">

**Author:** ![expertswho](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/expertswho/32/60945_2.png) [@expertswho](https://devforum.zoom.us/u/expertswho)\
**Post date:** [January 24, 2026, 8:41pm UTC](https://devforum.zoom.us/t/how-to-rename-a-participant-using-the-zoom-apps-sdk/141482/3 "2026-01-24T20:41:03Z")

</div>

hi @Ernst ,

Yes the key here is ParticipantScreenName.

Glad to see you found the answer. And have recognised that if the participant is in the waiting room or a breakout room, they will not be on the participant list to be seen.

All the best

John
