---
title: "Issue TURN credentials for an existing identity."
method: POST
path: "/turn/{id}/:issueCredentials"
tags: ["Turn"]
---

# Issue TURN credentials for an existing identity.

`POST /turn/{id}/:issueCredentials`

## Path parameters

- `id` string, required

## Query parameters

- `api-version` '2021-02-22-preview1', required

## Response `200`

Success

- CommunicationRelayConfiguration — A relay configuration containing the TURN URLs and credentials.
  - `expiresOn` string, date-time, required — The date for which the username and credentials are not longer valid.
  - `turnServers` CommunicationTurnServer[], required — An array representing the credentials and the TURN server URL.
    - `urls` string[], required — List of TURN server URLs.
    - `username` string, required — User account name which uniquely identifies the credentials.
    - `credential` string, required — Credential for the server.

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/azure/apis/communication-networktraversal.md) · [All operations](https://skmtc.dev/azure/apis/communication-networktraversal/llms.txt) · [OpenAPI document](https://skmtc.dev/azure/apis/communication-networktraversal/revisions/ae2c085fd946?raw)
