---
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

---

[API](https://skmtc.net/voiceblender/apis/voiceblender-api.md) · [All operations](https://skmtc.net/voiceblender/apis/voiceblender-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voiceblender/voiceblender-api/revisions/ad30827d3b57/schema)
