> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeroruntime.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Switching Room in SIP Call

> Learn how to switch a room in a SIP call, including event payloads and integration options.

Switching a room can be used to move a call from one room to another while the call is in progress. This is useful for scenarios where you want to move a call to a different room based on certain conditions or events like doing soft call transfer when using AI Agents.

## Triggering a Call Switch Room via API

You can initiate a call switch room by making an API request with the following payload:

**Sample Request:**

* `callId`: The unique identifier of the ongoing call you want to switch room.
* `roomId`: The Zero Runtime Room ID to which the call should be switched.
* `token`: The Zero Runtime Token which will be used to join the new session.
* `participantId`: The participant ID which will be used to join the new session.

See the [Call Switch Room API](https://docs.videosdk.live/api-reference/realtime-communication/sip/calls/call-switch-room) for the full request and response schema.

<Tip>
  Call switch room is supported for both inbound and outbound SIP calls, as long as the call is active and the room you are trying to switch is active.
</Tip>

## API Reference

* [Call Switch Room API](https://docs.videosdk.live/api-reference/realtime-communication/sip/calls/call-switch-room)
