```from livekit.api import MoveParticipantRequest ...
# ask-ai
l
Copy code
from livekit.api import MoveParticipantRequest

await lkapi.room.move_participant(MoveParticipantRequest(
  room="<CURRENT_ROOM_NAME>",
  identity="<PARTICIPANT_ID>",
  destination_room="<NEW_ROOM_NAME>",
))
How to get the <PARTICIPANT_ID>.Is this phone no.s?
t
Thanks for reaching out, Deepak. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks for reaching out! The
<PARTICIPANT_ID>
in LiveKit is actually a system-generated unique identifier (SID) for a participant in a room, and it’s not the same as a phone number. Let me break it down a bit for you: • participant_id: This is a unique ID created by the system for each participant session. • participant_identity: This is a unique string that developers can set when creating a participant. By default, it might come from a phone number, but you can definitely override it. If you’re trying to get the
participant_id
, you’ll usually find it in the response when a participant joins or is created. If anything’s unclear or you want me to walk you through it, just let me know—I’m here to help! Sources: Rooms, participants, and tracks | LiveKit Docs | SIP APIs | LiveKit Docs | livekit-protocol/livekit/protocol/sip.pyi | rpc/sip.pb.go | packages/sip--make-a-call/src/make-call.ts