main
turn

Get Turn Credentials

Changed on

Get time-limited TURN credentials for WebRTC connections.

This endpoint generates ephemeral TURN credentials that are:

  • Valid for the configured TTL (default: 24 hours)
  • Cryptographically bound to the user via HMAC
  • Compatible with coturn's use-auth-secret mode

Returns: TurnCredentialsResponse with username, password, ttl, and TURN URIs

get/api/v1/turn/credentials

Request

  • Base URL
    https://app.dograh.com
  • URL
    https://app.dograh.com/api/v1/turn/credentials
  • Auth
    none declared

Headers

authorizationstring nullable
X-API-Keystring nullable

Response

Successful Response

usernamestring required
passwordstring required
ttlinteger required
urisstring[] required

Changes