---
title: "Short-lived ICE (STUN/TURN) servers for WebRTC"
method: GET
path: "/v1/ice"
tags: ["transport"]
---

# Short-lived ICE (STUN/TURN) servers for WebRTC

`GET /v1/ice`

## Request

- Base URL: `https://srift.app`
- URL: `https://srift.app/v1/ice`
- Auth: none required

Merged, short-lived TURN credentials from every provider the operator configured (Cloudflare Realtime TURN, own coturn, Metered, static), asked in parallel. An empty list means no TURN is configured; clients then use public STUN, the sealed relay and the HTTPS stream.

## Response `200`

ICE servers

- object
  - `iceServers` object[], required
    - `urls` string[], required
    - `username` string
    - `credential` string
  - `providers` string[]
  - `ttl` integer, required: Seconds the credentials stay valid

---

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