---
title: "Issue a configuration for an STUN/TURN server for an existing identity."
method: POST
path: "/networktraversal/:issueRelayConfiguration"
tags: ["Turn"]
---

# Issue a configuration for an STUN/TURN server for an existing identity.

`POST /networktraversal/:issueRelayConfiguration`

## Query parameters

- `api-version` '2021-06-21-preview', required

## Request body

- CommunicationRelayConfigurationRequest — Request for a CommunicationRelayConfiguration.
  - `id` string — An existing ACS identity.

## Response `200`

Success

- CommunicationRelayConfiguration — A relay configuration containing the STUN/TURN URLs and credentials.
  - `expiresOn` string, date-time, required — The date for which the username and credentials are not longer valid.
  - `iceServers` CommunicationIceServer[], required — An array representing the credentials and the STUN/TURN server URLs for use in ICE negotiations.
    - `urls` string[], required — List of STUN/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

## Changes

- **2026-07-13** `88c98caec50f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/communication-networktraversal/changes/networktraversal/:issueRelayConfiguration/post.md)

---

[API](https://skmtc.dev/azure/apis/communication-networktraversal.md) · [All operations](https://skmtc.dev/azure/apis/communication-networktraversal/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/communication-networktraversal/revisions/88c98caec50f/schema)
