Skip to main content
POST
Fetch ICE servers for a browser call (data plane)
The browser data plane: the mint’s connection.turn_credentials_url. It answers short-lived STUN and TURN servers for the browser’s peer connection, in the shape RTCPeerConnection takes, so a caller behind a strict network still connects. Fetch them before you build the peer connection and send the offer; @goyappr/client does it for you.
It is authorized like the offer - the session token as x-yappr-web-token, a shared link as x-share-token, or a dashboard sign-in - and it does not spend the token. GET answers exactly as POST does, with the same refusals. The credentials last an hour; fetch new ones for a new call.

Headers

x-yappr-web-token
string

The session token (wcs_…).

Response

ICE servers, in the shape RTCPeerConnection takes.

iceServers
object[]
required