Microsoft Azure Turn API

The Turn API from Microsoft Azure, for turn.

GitHub OpenAPI

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /networktraversal/:issueRelayConfiguration Issue TURN relay credentials for an existing identity · Microsoft Azure Issue A Configuration For An Stun Turn Server For An Existing… #
Ask an LLM
“How do I get STUN/TURN relay credentials for a Communication Services user I already created?”
“Can relay configuration be issued tied to an existing communication identity?”
Tell an agent
Issue a TURN relay configuration for identity {id} using the lowercase networktraversal route.
Get STUN and TURN server credentials for existing communication user {id}.
POST /networkTraversal/:issueRelayConfiguration Issue a STUN/TURN relay configuration · Microsoft Azure Issue A Configuration For An Stun Turn Server #
Ask an LLM
“How do I obtain TURN server credentials for a media call in Azure Communication Services?”
“Can I choose between any route and nearest route for the relay?”
Tell an agent
Issue a relay configuration with route type {routeType}.
Get relay server credentials valid for {ttl} seconds.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-turn-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-turn-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure CommunicationNetworkingClient Turn API
  description: Azure Communication Networking Service
  version: 2021-06-21-preview
tags:
- name: Turn
paths:
  /networktraversal/:issueRelayConfiguration:
    post:
      tags:
      - Turn
      summary: Microsoft Azure Issue A Configuration For An Stun Turn Server For An Existing…
      operationId: microsoftAzureCommunicationnetworktraversalIssuerelayconfiguration
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationRelayConfiguration'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../Common/stable/2021-03-07/common.json#/definitions/CommunicationErrorResponse
      x-ms-examples:
        Issue Relay Configuration:
          $ref: ./examples/IssueRelayConfiguration.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommunicationRelayConfigurationRequest'
  /networkTraversal/:issueRelayConfiguration:
    post:
      tags:
      - Turn
      summary: Microsoft Azure Issue A Configuration For An Stun Turn Server
      operationId: microsoftAzureCommunicationnetworktraversalIssuerelayconfiguration
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationRelayConfiguration'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: ../../../Common/stable/2021-03-07/common.json#/definitions/CommunicationErrorResponse
      x-ms-examples:
        Issue Relay Configuration:
          $ref: ./examples/IssueRelayConfiguration.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommunicationRelayConfigurationRequest'
        description: Optional request for providing the id and/or route type for the returned relay configuration.
components:
  schemas:
    CommunicationRelayConfigurationRequest:
      description: Request for a CommunicationRelayConfiguration.
      type: object
      properties:
        id:
          description: An existing ACS identity.
          type: string
    CommunicationIceServer:
      description: An instance of a STUN/TURN server with credentials to be used for ICE negotiation.
      required:
      - credential
      - urls
      - username
      type: object
      properties:
        urls:
          description: List of STUN/TURN server URLs.
          type: array
          items:
            type: string
        username:
          description: User account name which uniquely identifies the credentials.
          type: string
        credential:
          description: Credential for the server.
          type: string
    CommunicationRelayConfiguration:
      description: A relay configuration containing the STUN/TURN URLs and credentials.
      required:
      - expiresOn
      - iceServers
      type: object
      properties:
        expiresOn:
          format: date-time
          description: The date for which the username and credentials are not longer valid.
          type: string
        iceServers:
          description: An array representing the credentials and the STUN/TURN server URLs for use in ICE negotiations.
          type: array
          items:
            $ref: '#/components/schemas/CommunicationIceServer'
    RouteType:
      description: The routing methodology to where the ICE server will be located from the client. "any" will have higher reliability while "nearest" will have lower latency. It is recommended to default to use the "any" routing method unless there are specific scenarios which minimizing latency is critical.
      enum:
      - any
      - nearest
      type: string
      x-ms-enum:
        name: RouteType
        modelAsString: true
  parameters:
    ApiVersionParameter:
      in: query
      name: api-version
      description: Version of API to invoke.
      required: true
      schema:
        type: string
        enum:
        - 2021-06-21-preview
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
x-ms-parameterized-host:
  hostTemplate: '{endpoint}'
  useSchemePrefix: false
  parameters:
  - name: endpoint
    description: The communication resource, for example https://my-resource.communication.azure.com
    required: true
    type: string
    in: path
    x-ms-skip-url-encoding: true
    x-ms-parameter-location: client