---
title: "Get server-side ICE candidates for a WebRTC leg (trickle ICE)"
method: GET
path: "/legs/{id}/ice-candidates"
tags: ["WebRTC"]
---

# Get server-side ICE candidates for a WebRTC leg (trickle ICE)

`GET /legs/{id}/ice-candidates`

## Response `200`

Buffered ICE candidates

- WebRTCCandidatesResult
  - `candidates` ICECandidateInit[], required
    - `candidate` string, required — ICE candidate string
    - `sdpMid` string — Media stream identification tag
    - `sdpMLineIndex` integer — Index of the media description
  - `done` boolean, required

## Other responses

- `400` — Leg is not a WebRTC leg
- `404` — Leg not found

## Changes

- **2026-05-11** `7ab34b92424f` — 1 breaking, 1 warning, 2 info
  - removed the required property `status` from the response with the `200` status
  - removed the optional property `instance_id` from the response with the `200` status
  - added the required property `candidates` to the response with the `200` status
  - added the required property `done` to the response with the `200` status
- **2026-03-26** `7856459e2b72` — 2 breaking, 1 warning, 1 info
  - removed the required property `candidates` from the response with the `200` status
  - removed the required property `done` from the response with the `200` status
  - deleted the `path` request parameter `id`
  - added the required property `status` to the response with the `200` status
- **2026-03-26** `d09c97c6ca8c` — 2 breaking, 2 info
  - added the new path request parameter `id`
  - removed the required property `status` from the response with the `200` status
  - added the required property `candidates` to the response with the `200` status
  - added the required property `done` to the response with the `200` status
- **2026-03-26** `818619c99a1d` — 2 breaking, 1 warning, 1 info
  - removed the required property `candidates` from the response with the `200` status
  - removed the required property `done` from the response with the `200` status
  - deleted the `path` request parameter `id`
  - added the required property `status` to the response with the `200` status

[Change history](https://skmtc.dev/voiceblender/apis/voiceblender-api/changes/legs/:id/ice-candidates/get.md)

---

[API](https://skmtc.dev/voiceblender/apis/voiceblender-api.md) · [All operations](https://skmtc.dev/voiceblender/apis/voiceblender-api/llms.txt) · [OpenAPI document](https://skmtc.dev/voiceblender/apis/voiceblender-api/revisions/9b0a18aea1e2?raw)
