Microsoft Azure Communication Services Teams Extension API

The TeamsExtension API from Microsoft Azure Communication Services — 2 operation(s) for teamsextension.

GitHub OpenAPI

Operations 4

POST /access/teamsExtension/:exchangeAccessToken Exchanges a Teams Phone token for an ACS user access token #
GET /access/teamsExtension/tenants/{tenantId}/assignments/{objectId} Get Teams Phone access assignment by object id #
PUT /access/teamsExtension/tenants/{tenantId}/assignments/{objectId} Creates or replaces a Teams Phone access assignment #
DELETE /access/teamsExtension/tenants/{tenantId}/assignments/{objectId} Removes a Teams Phone access assignment #

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-communication-services:microsoft-azure-communication-services-teamsextension-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

microsoft-azure-communication-services-teamsextension-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CommunicationIdentityClient Teams Extension API
  version: '2026-09-23'
  description: Azure Communication Identity Service
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
tags:
- name: TeamsExtension
paths:
  /access/teamsExtension/:exchangeAccessToken:
    post:
      operationId: TeamsExtensionOperations_ExchangeToken
      tags:
      - TeamsExtension
      summary: Exchanges a Teams Phone token for an ACS user access token
      description: Exchanges a Teams Phone token for an ACS user access token.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationIdentityAccessTokenResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamsExtensionExchangeTokenRequest'
        description: Request payload for the token exchange.
        required: true
  /access/teamsExtension/tenants/{tenantId}/assignments/{objectId}:
    get:
      operationId: TeamsExtensionOperations_GetAssignment
      tags:
      - TeamsExtension
      summary: Get Teams Phone access assignment by object id
      description: Get Teams Phone access assignment by object id.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - name: tenantId
        in: path
        description: Tenant Id we want to get the assignment for.
        required: true
        schema:
          type: string
      - name: objectId
        in: path
        description: Object Id we want to get the assignment for.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamsExtensionAssignmentResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
    put:
      operationId: TeamsExtensionOperations_UpsertAssignment
      tags:
      - TeamsExtension
      summary: Creates or replaces a Teams Phone access assignment
      description: Creates or replaces a Teams Phone access assignment.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - name: tenantId
        in: path
        description: Tenant Id we want to update the assignment for.
        required: true
        schema:
          type: string
      - name: objectId
        in: path
        description: Object Id we want to update the assignment for.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamsExtensionAssignmentResponse'
        '201':
          description: The request has succeeded and a new resource has been created as a result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamsExtensionAssignmentResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamsExtensionAssignmentCreateOrUpdateRequest'
        description: Values we want to set.
        required: true
    delete:
      operationId: TeamsExtensionOperations_DeleteAssignment
      tags:
      - TeamsExtension
      summary: Removes a Teams Phone access assignment
      description: Removes a Teams Phone access assignment.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - name: tenantId
        in: path
        description: Tenant Id we want to remove the assignment for.
        required: true
        schema:
          type: string
      - name: objectId
        in: path
        description: Object Id we want to remove the assignment for.
        required: true
        schema:
          type: string
      responses:
        '204':
          description: 'There is no content to send for this request, but the headers may be useful. '
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
components:
  schemas:
    CommunicationIdentity:
      type: object
      description: A communication identity.
      properties:
        id:
          type: string
          description: Identifier of the identity.
      required:
      - id
    TeamsExtensionAssignmentResponse:
      type: object
      description: A Teams Extension assignment response.
      properties:
        objectId:
          type: string
          description: The object ID of the assignment.
        tenantId:
          type: string
          description: The tenant ID of the assignment.
        principalType:
          $ref: '#/components/schemas/TeamsExtensionPrincipalType'
          description: The type of principal the assignment is for.
        clientIds:
          type: array
          description: The client IDs for the assignment.
          items:
            type: string
      required:
      - objectId
      - tenantId
      - principalType
    CommunicationIdentityAccessTokenResult:
      type: object
      description: A communication identity with access token.
      properties:
        identity:
          $ref: '#/components/schemas/CommunicationIdentity'
          description: The communication identity.
        accessToken:
          $ref: '#/components/schemas/CommunicationIdentityAccessToken'
          description: An access token.
      required:
      - identity
    TeamsExtensionPrincipalType:
      type: string
      description: The type of principal the assignment is for.
      enum:
      - resourceAccount
      - user
      x-ms-enum:
        name: TeamsExtensionPrincipalType
        modelAsString: true
        values:
        - name: resourceAccount
          value: resourceAccount
          description: Resource account principal type.
        - name: user
          value: user
          description: User principal type.
    TeamsExtensionAssignmentCreateOrUpdateRequest:
      type: object
      description: A request to create or update a Teams Extension assignment.
      properties:
        principalType:
          $ref: '#/components/schemas/TeamsExtensionPrincipalType'
          description: The type of principal the assignment is for.
        clientIds:
          type: array
          description: The client IDs for the assignment.
          items:
            type: string
      required:
      - principalType
    CommunicationIdentityAccessToken:
      type: object
      description: An access token.
      properties:
        token:
          type: string
          description: The access token issued for the identity.
        expiresOn:
          type: string
          format: date-time
          description: The expiry time of the token.
      required:
      - token
      - expiresOn
    CommunicationErrorResponse:
      type: object
      description: The Communication Services error.
      properties:
        error:
          $ref: '#/components/schemas/CommunicationError'
          description: The Communication Services error.
      required:
      - error
    TeamsExtensionExchangeTokenRequest:
      type: object
      description: A request to exchange a Teams Extension token.
      additionalProperties: {}
    CommunicationError:
      type: object
      description: The Communication Services error.
      properties:
        code:
          type: string
          description: The error code.
        message:
          type: string
          description: The error message.
        target:
          type: string
          description: The error target.
          readOnly: true
        details:
          type: array
          description: Further details about specific errors that led to this error.
          items:
            $ref: '#/components/schemas/CommunicationError'
          readOnly: true
        innererror:
          $ref: '#/components/schemas/CommunicationError'
          description: The inner error if any.
          readOnly: true
          x-ms-client-name: innerError
      required:
      - code
      - message
  parameters:
    Azure.Core.Foundations.ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      x-ms-parameter-location: method
      x-ms-client-name: apiVersion
      schema:
        type: string
        minLength: 1
x-ms-parameterized-host:
  hostTemplate: '{endpoint}'
  useSchemePrefix: false
  parameters:
  - name: endpoint
    in: path
    description: The communication resource, for example https://my-resource.communication.azure.com
    required: true
    type: string
    format: uri
    x-ms-skip-url-encoding: true