Azure Communication Services Rooms API

Rooms API: create and manage rooms and their participants for scheduled interactions. 7 operations, data-plane version 2025-03-13, served from the customer's Communication Services resource endpoint.

GitHub OpenAPI

Operations 5

POST /rooms Creates a new room #
GET /rooms Retrieves all created rooms #
GET /rooms/{roomId} Retrieves an existing room by id #
PATCH /rooms/{roomId} Update a room with given changes #
DELETE /rooms/{roomId} Delete a room #

Documentation

Specifications

Schemas & Data

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-rooms-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-communication-services-rooms-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Azure Communication Room Service Rooms API
  description: Azure Communication Room Service
  version: '2025-03-13'
security:
- Authorization: []
tags:
- name: Rooms
paths:
  /rooms:
    post:
      tags:
      - Rooms
      summary: Creates a new room
      operationId: Rooms_Create
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - in: header
        name: Repeatability-Request-ID
        description: If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-ID and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-ID is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs.
        schema:
          type: string
          format: uuid
      - in: header
        name: Repeatability-First-Sent
        description: If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date.
        schema:
          type: string
          format: date-time-rfc1123
      responses:
        '201':
          description: Request successful. The action returns a new room.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoomModel'
        default:
          description: Error response
          headers:
            x-ms-error-code:
              x-ms-client-name: ErrorCode
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRoomRequest'
        description: The create room request body.
        required: true
    get:
      tags:
      - Rooms
      summary: Retrieves all created rooms
      operationId: Rooms_List
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Request successful. The action returns a collection of rooms.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoomsCollection'
        default:
          description: Error response
          headers:
            x-ms-error-code:
              x-ms-client-name: ErrorCode
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
        itemName: value
  /rooms/{roomId}:
    get:
      tags:
      - Rooms
      summary: Retrieves an existing room by id
      operationId: Rooms_Get
      parameters:
      - in: path
        name: roomId
        description: The id of the room requested.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Request successful. The action returns a room.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoomModel'
        default:
          description: Error response
          headers:
            x-ms-error-code:
              x-ms-client-name: ErrorCode
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
    patch:
      tags:
      - Rooms
      summary: Update a room with given changes
      operationId: Rooms_Update
      parameters:
      - in: path
        name: roomId
        description: The id of the room requested.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Request successful. The action returns an updated room.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoomModel'
        default:
          description: Error response
          headers:
            x-ms-error-code:
              x-ms-client-name: ErrorCode
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/UpdateRoomRequest'
        description: The update room request.
        required: true
    delete:
      tags:
      - Rooms
      summary: Delete a room
      operationId: Rooms_Delete
      parameters:
      - in: path
        name: roomId
        description: The id of the room to be deleted.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '204':
          description: The room was successfully deleted.
        default:
          description: Error response
          headers:
            x-ms-error-code:
              x-ms-client-name: ErrorCode
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
components:
  schemas:
    RoomModel:
      description: The meeting room.
      type: object
      required:
      - createdAt
      - id
      - validFrom
      - validUntil
      - pstnDialOutEnabled
      properties:
        id:
          description: Unique identifier of a room. This id is server generated.
          type: string
          example: '99199690362660524'
        createdAt:
          format: date-time
          description: 'The timestamp when the room was created at the server. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.'
          type: string
          example: '2021-09-06T05:55:41Z'
        validFrom:
          format: date-time
          description: 'The timestamp from when the room is open for joining. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.'
          type: string
          example: '2021-09-07T07:55:41Z'
        validUntil:
          format: date-time
          description: 'The timestamp from when the room can no longer be joined. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.'
          type: string
          example: '2021-09-08T15:55:41Z'
        pstnDialOutEnabled:
          description: Set this flag to true if, at the time of the call, dial out to a PSTN number is enabled in a particular room. By default, this flag is set to false.
          type: boolean
          example: true
    CommonCommunicationError:
      description: The Communication Services error.
      type: object
      required:
      - code
      - message
      properties:
        code:
          type: string
          description: The error code.
        message:
          type: string
          description: The error message.
        target:
          type: string
          readOnly: true
          description: The error target.
        details:
          type: array
          items:
            $ref: '#/components/schemas/CommunicationError'
          readOnly: true
          description: Further details about specific errors that led to this error.
        innererror:
          x-ms-client-name: innerError
          readOnly: true
          $ref: '#/components/schemas/CommunicationError'
          description: The inner error if any.
    UpdateRoomRequest:
      description: Request payload for updating a room.
      type: object
      properties:
        validFrom:
          format: date-time
          description: '(Optional) The timestamp from when the room is open for joining. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.'
          type: string
          example: '2021-09-07T07:55:41Z'
        validUntil:
          format: date-time
          description: '(Optional) The timestamp from when the room can no longer be joined. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.'
          type: string
          example: '2021-09-08T15:55:41Z'
        pstnDialOutEnabled:
          description: (Optional) Set this flag to true if, at the time of the call, dial out to a PSTN number is enabled in a particular room. By default, this flag is set to false.
          type: boolean
          example: true
    CommunicationErrorResponse:
      $ref: '#/components/schemas/CommonCommunicationErrorResponse'
    Role:
      description: The role of a room participant. The default value is Attendee.
      enum:
      - Presenter
      - Attendee
      - Consumer
      - Collaborator
      type: string
      x-ms-enum:
        name: Role
        modelAsString: true
    ParticipantProperties:
      required:
      - role
      type: object
      properties:
        role:
          $ref: '#/components/schemas/Role'
    CommonCommunicationErrorResponse:
      description: The Communication Services error.
      type: object
      required:
      - error
      properties:
        error:
          description: The Communication Services error.
          $ref: '#/components/schemas/CommunicationError'
    RoomsCollection:
      description: A collection of rooms.
      required:
      - value
      type: object
      properties:
        value:
          description: A collection of rooms.
          type: array
          items:
            $ref: '#/components/schemas/RoomModel'
        nextLink:
          description: If there are more rooms that can be retrieved, the next link will be populated.
          type: string
    CreateRoomRequest:
      description: Request payload for creating new room.
      type: object
      properties:
        validFrom:
          format: date-time
          description: 'The timestamp from when the room is open for joining. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`. The default value is the current date time.'
          type: string
          example: '2021-09-07T07:55:41Z'
        validUntil:
          format: date-time
          description: 'The timestamp from when the room can no longer be joined. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`. The default value is the current date time plus 180 days.'
          type: string
          example: '2021-09-08T15:55:41Z'
        pstnDialOutEnabled:
          description: Set this flag to true if, at the time of the call, dial out to a PSTN number is enabled in a particular room. By default, this flag is set to false.
          type: boolean
          example: true
        participants:
          description: (Optional) Participants to be invited to the room.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ParticipantProperties'
          example:
            rawId1:
              role: Presenter
            rawId2:
              role: Attendee
            rawId3:
              role: Collaborator
            rawId4: null
    CommunicationError:
      $ref: '#/components/schemas/CommonCommunicationError'
  parameters:
    ApiVersionParameter:
      in: query
      name: api-version
      description: Version of API to invoke.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
  securitySchemes:
    Authorization:
      type: apiKey
      name: Authorization
      in: header
      description: An authentication string containing a signature generated using HMAC-SHA256 scheme.
x-ms-parameterized-host:
  hostTemplate: '{endpoint}'
  useSchemePrefix: false
  parameters:
  - $ref: '#/components/parameters/Endpoint'