---
title: "Get Turn Credentials"
method: GET
path: "/api/v1/turn/credentials"
tags: ["main", "turn"]
---

# Get Turn Credentials

`GET /api/v1/turn/credentials`

## Request

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

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

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable

## Response `200`

Successful Response

- TurnCredentialsResponse: Response model for TURN credentials.
  - `username` string, required
  - `password` string, required
  - `ttl` integer, required
  - `uris` string[], required

## Other responses

- `404`: Not found
- `422`: Validation Error

## Changes

- **2026-11-03** `faa00cf76fcb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dograh/apis/dograh-api/changes/api/v1/turn/credentials/get.md)

---

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