Microsoft Azure Communications Gateways API

The CommunicationsGateways API from Microsoft Azure, for communicationsgateways.

GitHub OpenAPI

Operations 6

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

GET /subscriptions/{subscriptionId}/providers/Microsoft.VoiceServices/communicationsGateways List Communications Gateways in a subscription · Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft… #
Ask an LLM
“Which Azure Communications Gateways exist across my subscription?”
“Can I see every voice Communications Gateway I own subscription-wide?”
Tell an agent
List all Communications Gateways in my subscription.
Show every Communications Gateway resource across the subscription.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways List Communications Gateways in a resource group · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What Communications Gateways are in a specific resource group?”
“Can I list only one resource group's Communications Gateways?”
Tell an agent
List Communications Gateways in my resource group.
Show the Communications Gateway resources scoped to the current resource group.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName} Get a Communications Gateway · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I view the configuration of one Communications Gateway?”
“What status is my Azure Communications Gateway in?”
Tell an agent
Get Communications Gateway {gateway}.
Show details of Communications Gateway {gateway}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName} Create a Communications Gateway · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I deploy a new Azure Communications Gateway?”
“Can I replace a Communications Gateway's properties in full?”
Tell an agent
Create Communications Gateway {gateway}.
Create or replace Communications Gateway {gateway} with properties {properties}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName} Delete a Communications Gateway · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I delete a Communications Gateway?”
“Can I tear down a voice gateway I no longer need?”
Tell an agent destructive · confirm first
Delete Communications Gateway {gateway}.
Remove the Communications Gateway named {gateway}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName} Update a Communications Gateway's tags · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I change only the tags on a Communications Gateway?”
“How do I retag an existing Communications Gateway?”
Tell an agent
Set tags {tags} on Communications Gateway {gateway}.
Patch Communications Gateway {gateway} with new tags {tags}.

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-communicationsgateways-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-communicationsgateways-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Microsoft.VoiceServices Communications…
  version: 2022-12-01-preview
  x-cadl-generated:
  - emitter: '@azure-tools/cadl-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: CommunicationsGateways
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.VoiceServices/communicationsGateways:
    get:
      tags:
      - CommunicationsGateways
      operationId: microsoftAzureCommunicationsgatewaysListbysubscription
      description: List CommunicationsGateway resources by subscription ID
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationsGatewayListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        ListCommunicationsGatewayResourceSub:
          $ref: ./examples/CommunicationsGateways_ListBySubscription.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways
  : get:
      tags:
      - CommunicationsGateways
      operationId: microsoftAzureCommunicationsgatewaysListbyresourcegroup
      description: List CommunicationsGateway resources by resource group
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationsGatewayListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        ListCommunicationsGatewayResource:
          $ref: ./examples/CommunicationsGateways_ListByResourceGroup.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}
  : get:
      tags:
      - CommunicationsGateways
      operationId: microsoftAzureCommunicationsgatewaysGet
      description: Get a CommunicationsGateway
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/CommunicationsGateway.communicationsGatewayName'
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationsGateway'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        GetCommunicationsGatewayResource:
          $ref: ./examples/CommunicationsGateways_Get.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      tags:
      - CommunicationsGateways
      operationId: microsoftAzureCommunicationsgatewaysCreateorupdate
      description: Create a CommunicationsGateway
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/CommunicationsGateway.communicationsGatewayName'
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationsGateway'
        '201':
          description: ARM create operation completed successfully.
          headers:
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationsGateway'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        CreateCommunicationsGatewayResource:
          $ref: ./examples/CommunicationsGateways_CreateOrUpdate.json
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommunicationsGateway'
        description: Resource create parameters.
        required: true
    delete:
      tags:
      - CommunicationsGateways
      operationId: microsoftAzureCommunicationsgatewaysDelete
      description: Delete a CommunicationsGateway
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/CommunicationsGateway.communicationsGatewayName'
      responses:
        '200':
          description: Resource deleted successfully.
        '202':
          description: Resource deletion accepted.
          headers:
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        '204':
          description: Resource deleted successfully.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        DeleteCommunicationsGatewayResource:
          $ref: ./examples/CommunicationsGateways_Delete.json
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
    patch:
      tags:
      - CommunicationsGateways
      operationId: microsoftAzureCommunicationsgatewaysUpdate
      description: Update a CommunicationsGateway
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/CommunicationsGateway.communicationsGatewayName'
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationsGateway'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        UpdateCommunicationsGatewayResource:
          $ref: ./examples/CommunicationsGateways_Update.json
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommunicationsGatewayUpdate'
        description: The resource properties to be updated.
        required: true
components:
  schemas:
    TeamsCodecs:
      type: string
      description: The voice codecs expected for communication with Teams.
      enum:
      - PCMA
      - PCMU
      - G722
      - G722_2
      - SILK_8
      - SILK_16
      x-ms-enum:
        name: TeamsCodecs
        modelAsString: true
    ServiceRegionProperties:
      type: object
      properties:
        name:
          type: string
          description: The name of the region in which the resources needed for Teams Calling will be deployed.
          x-ms-mutability:
          - read
          - create
        primaryRegionProperties:
          $ref: '#/components/schemas/PrimaryRegionProperties'
          description: The configuration used in this region as primary, and other regions as backup.
          x-ms-mutability:
          - read
          - update
          - create
      description: The service region configuration needed for Teams Callings.
      required:
      - name
      - primaryRegionProperties
    CommunicationsGatewayProperties:
      type: object
      properties:
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: Resource provisioning state.
          readOnly: true
        status:
          $ref: '#/components/schemas/Status'
          description: The current status of the deployment.
          readOnly: true
        serviceLocations:
          type: array
          items:
            $ref: '#/components/schemas/ServiceRegionProperties'
          x-ms-identifiers:
          - name
          x-cadl-name: ServiceRegionProperties[]
          description: The regions in which to deploy the resources needed for Teams Calling
          x-ms-mutability:
          - read
          - update
          - create
        connectivity:
          $ref: '#/components/schemas/Connectivity'
          description: How to connect back to the operator network, e.g. MAPS
          x-ms-mutability:
          - read
          - create
        codecs:
          type: array
          items:
            $ref: '#/components/schemas/TeamsCodecs'
          x-cadl-name: TeamsCodecs[]
          description: Voice codecs to support
          x-ms-mutability:
          - read
          - update
          - create
        e911Type:
          $ref: '#/components/schemas/E911Type'
          description: How to handle 911 calls
          x-ms-mutability:
          - read
          - update
          - create
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/CommunicationsPlatform'
          x-cadl-name: CommunicationsPlatform[]
          description: What platforms to support
          x-ms-mutability:
          - read
          - update
          - create
        apiBridge:
          $ref: '#/components/schemas/ApiBridgeProperties'
          description: Details of API bridge functionality, if required
          x-ms-mutability:
          - read
          - update
          - create
      description: Details of the CommunicationsGateway resource.
      required:
      - serviceLocations
      - connectivity
      - codecs
      - e911Type
      - platforms
    Status:
      type: string
      description: The status of the current CommunicationsGateway resource.
      enum:
      - ChangePending
      - Complete
      x-ms-enum:
        name: Status
        modelAsString: false
        values:
        - name: ChangePending
          value: ChangePending
          description: The resource has been created or updated, but the CommunicationsGateway service has not yet been updated to reflect the changes.
        - name: Complete
          value: Complete
          description: The CommunicationsGateway service is up and running with the parameters specified in the resource.
    PrimaryRegionProperties:
      type: object
      properties:
        operatorAddresses:
          type: array
          items:
            type: string
          x-cadl-name: string[]
          description: IP address to use to contact the operator network from this region
          x-ms-mutability:
          - read
          - update
          - create
        esrpAddresses:
          type: array
          items:
            type: string
          x-cadl-name: string[]
          description: IP address to use to contact the ESRP from this region
          x-ms-mutability:
          - read
          - update
          - create
      description: The configuration used in this region as primary, and other regions as backup.
      required:
      - operatorAddresses
    ApiBridgeProperties:
      type: object
      properties: {}
      description: Details of API bridge functionality.
    ProvisioningState:
      type: string
      description: Provisioning state of the resource.
      enum:
      - Succeeded
      - Failed
      - Canceled
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
    CommunicationsGateway:
      type: object
      properties:
        properties:
          $ref: '#/components/schemas/CommunicationsGatewayProperties'
          description: The resource-specific properties for this resource.
          x-ms-mutability:
          - read
          - create
          x-ms-client-flatten: true
      description: A CommunicationsGateway resource
      allOf:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource
    Connectivity:
      type: string
      description: How this deployment connects back to the operator network
      enum:
      - PublicAddress
      x-ms-enum:
        name: Connectivity
        modelAsString: true
        values:
        - name: PublicAddress
          value: PublicAddress
          description: This deployment connects to the operator network using a Public IP address, e.g. when using MAPS
    CommunicationsGatewayListResult:
      type: object
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/CommunicationsGateway'
          x-cadl-name: CommunicationsGateway[]
          description: The CommunicationsGateway items on this page
        nextLink:
          type: string
          description: The link to the next page of items
          x-cadl-name: Rest.ResourceLocation<CommunicationsGateway>
      description: The response of a CommunicationsGateway list operation.
      required:
      - value
    CommunicationsGatewayUpdate:
      type: object
      properties:
        tags:
          type: object
          additionalProperties:
            type: string
          x-cadl-name: Record<string>
          description: Resource tags.
      description: The type used for update operations of the CommunicationsGateway.
    E911Type:
      type: string
      description: The method for terminating emergency calls to the PSTN.
      enum:
      - Standard
      - DirectToEsrp
      x-ms-enum:
        name: E911Type
        modelAsString: true
        values:
        - name: Standard
          value: Standard
          description: Emergency calls are not handled different from other calls
        - name: DirectToEsrp
          value: DirectToEsrp
          description: Emergency calls are routed directly to the ESRP
    CommunicationsPlatform:
      type: string
      description: Available platform types.
      enum:
      - OperatorConnect
      - TeamsPhoneMobile
      x-ms-enum:
        name: CommunicationsPlatform
        modelAsString: true
  parameters:
    CommunicationsGateway.communicationsGatewayName:
      name: communicationsGatewayName
      in: path
      required: true
      description: Unique identifier for this deployment
      x-ms-parameter-location: method
      schema:
        type: string
        pattern: ^[a-zA-Z0-9-]{3,24}$
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.