Microsoft Azure Participants API

The Participants API from Microsoft Azure, for participants.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

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 /chat/threads/{chatThreadId}/participants List the participants in a chat thread · Microsoft Azure Gets The Participants Of A Thread #
Ask an LLM
“Who is in a particular Communication Services chat thread?”
“Can I page through the members of a chat thread?”
Tell an agent
List the participants in chat thread {chatThreadId}.
Show {maxPageSize} members of chat thread {chatThreadId}, skipping the first {skip}.
POST /chat/threads/{chatThreadId}/participants/:remove Remove a participant from a chat thread · Microsoft Azure Remove A Participant From A Thread #
Ask an LLM
“How do I kick someone out of a chat thread?”
“Can I remove a user from a Communication Services chat conversation?”
Tell an agent destructive · confirm first
Remove a participant from chat thread {chatThreadId}.
Take this user out of chat thread {chatThreadId}.
POST /chat/threads/{chatThreadId}/participants/:add Add participants to a chat thread · Microsoft Azure Adds Thread Participants To A Thread If Participants Already… #
Ask an LLM
“How do I invite more people into an existing chat thread?”
“What happens if I add someone who's already in the thread?”
Tell an agent
Add participants {participants} to chat thread {chatThreadId}.
Invite {participants} into the conversation {chatThreadId}.
GET /rooms/{roomId}/participants List the participants in a room · Microsoft Azure Get Participants In A Room #
Ask an LLM
“Who is allowed to join a particular Communication Services room?”
“Can I see the participants and roles assigned to a room?”
Tell an agent
List the participants in room {roomId}.
Show who has access to room {roomId}.
PATCH /rooms/{roomId}/participants Update the participants in a room · Microsoft Azure Update Participants In A Room #
Ask an LLM
“How do I add people to or change roles in a Communication Services room?”
“Can I update a room's participant list in one call?”
Tell an agent
Update the participants of room {roomId} to {participants}.
Add or change participants {participants} in room {roomId}.

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-participants-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-participants-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Azure Communication Chat Service…
  description: Azure Communication Chat Service
  version: 2024-03-15-preview
security:
- Authorization: []
tags:
- name: Participants
paths:
  /chat/threads/{chatThreadId}/participants:
    get:
      tags:
      - Participants
      summary: Microsoft Azure Gets The Participants Of A Thread
      operationId: microsoftAzureChatthreadListchatparticipants
      parameters:
      - in: path
        name: chatThreadId
        description: Thread id to get participants for.
        required: true
        schema:
          type: string
      - in: query
        name: maxPageSize
        description: The maximum number of participants to be returned per page.
        schema:
          type: integer
          format: int32
      - in: query
        name: skip
        description: Skips participants up to a specified position in response.
        schema:
          type: integer
          format: int32
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Request successful. The action returns the participants of a thread.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatParticipantsCollection'
        '401':
          description: Unauthorized.
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
        '403':
          description: Forbidden.
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
        '429':
          description: Too many requests.
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
        '503':
          description: Service unavailable.
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
      x-ms-examples:
        Get participants with pagination (max page size):
          $ref: ./examples/Participants_ListChatParticipantsWithPageSize.json
      x-ms-pageable:
        nextLinkName: nextLink
        itemName: value
      description: Needs a more full description created.
  /chat/threads/{chatThreadId}/participants/:remove:
    post:
      tags:
      - Participants
      summary: Microsoft Azure Remove A Participant From A Thread
      operationId: microsoftAzureChatthreadRemovechatparticipant
      parameters:
      - in: path
        name: chatThreadId
        description: Thread id to remove the participant from.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '204':
          description: Request successful.
        '401':
          description: Unauthorized.
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
        '403':
          description: Forbidden.
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
        '429':
          description: Too many requests.
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
        '503':
          description: Service unavailable.
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
      x-ms-examples:
        Remove participant:
          $ref: ./examples/Participants_RemoveChatParticipant.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommunicationIdentifierModel'
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/CommunicationIdentifierModel'
        description: Id of the thread participant to remove from the thread.
        required: true
  /chat/threads/{chatThreadId}/participants/:add:
    post:
      tags:
      - Participants
      summary: Microsoft Azure Adds Thread Participants To A Thread If Participants Already…
      operationId: microsoftAzureChatthreadAddchatparticipants
      parameters:
      - in: path
        name: chatThreadId
        description: Id of the thread to add participants to.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '201':
          description: The participants were successfully added.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddChatParticipantsResult'
        '401':
          description: Unauthorized.
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
        '403':
          description: Forbidden.
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
        '429':
          description: Too many requests.
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
        '503':
          description: Service unavailable.
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunicationErrorResponse'
      x-ms-examples:
        Add participants:
          $ref: ./examples/Participants_AddChatParticipants.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddChatParticipantsRequest'
        description: Thread participants to be added to the thread.
        required: true
  /rooms/{roomId}/participants:
    get:
      tags:
      - Participants
      summary: Microsoft Azure Get Participants In A Room
      operationId: microsoftAzureParticipantsList
      parameters:
      - in: path
        name: roomId
        description: The id of the room to get participants from.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Request successful. The action returns the participants of the room.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ParticipantsCollection'
        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-examples:
        Get participants:
          $ref: ./examples/Participants_List.json
      x-ms-pageable:
        nextLinkName: nextLink
        itemName: value
      description: Needs a more full description created.
    patch:
      tags:
      - Participants
      summary: Microsoft Azure Update Participants In A Room
      operationId: microsoftAzureParticipantsUpdate
      parameters:
      - in: path
        name: roomId
        description: The id of the room to update the participants in.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: The participants were successfully updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateParticipantsResult'
        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-examples:
        Update participants:
          $ref: ./examples/Participants_Update.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/UpdateParticipantsRequest'
        description: An updated set of participants of the room.
        required: true
components:
  schemas:
    AddChatParticipantsResult:
      description: Result of the add chat participants operation.
      type: object
      properties:
        invalidParticipants:
          description: The participants that failed to be added to the chat thread.
          type: array
          items:
            $ref: '#/components/schemas/CommunicationError'
          readOnly: true
    ChatParticipantsCollection:
      description: Collection of participants belong to a particular thread.
      required:
      - value
      type: object
      properties:
        value:
          description: Chat participants.
          type: array
          items:
            $ref: '#/components/schemas/ChatParticipant'
        nextLink:
          description: If there are more chat participants that can be retrieved, the next link will be populated.
          type: string
          readOnly: true
    CommunicationError:
      $ref: ../../../Common/stable/2023-11-15/common.json#/definitions/CommunicationError
    CommunicationIdentifierModel:
      $ref: ../../../Common/stable/2023-11-15/common.json#/definitions/CommunicationIdentifierModel
    ChatParticipant:
      description: A participant of the chat thread.
      required:
      - communicationIdentifier
      type: object
      properties:
        communicationIdentifier:
          $ref: '#/components/schemas/CommunicationIdentifierModel'
        displayName:
          description: Display name for the chat participant.
          type: string
          example: Bob
        shareHistoryTime:
          format: date-time
          description: 'Time from which the chat history is shared with the participant. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.'
          type: string
          example: '2020-10-30T10:50:50Z'
        metadata:
          description: Contextual metadata for the chat participant. The metadata consists of name/value pairs. The total size of all metadata pairs can be up to 1KB in size.
          type: object
          additionalProperties:
            type: string
    CommunicationErrorResponse:
      $ref: ../../../Common/stable/2023-11-15/common.json#/definitions/CommunicationErrorResponse
    AddChatParticipantsRequest:
      description: Participants to be added to the thread.
      required:
      - participants
      type: object
      properties:
        participants:
          description: Participants to add to a chat thread.
          type: array
          items:
            $ref: '#/components/schemas/ChatParticipant'
    ParticipantsCollection:
      description: A collection of participants in a room.
      required:
      - value
      type: object
      properties:
        value:
          description: A collection of participants.
          type: array
          items:
            $ref: '#/components/schemas/RoomParticipant'
        nextLink:
          description: If there are more participants that can be retrieved, the next link will be populated.
          type: string
    RoomParticipant:
      description: A participant of the room.
      required:
      - rawId
      - role
      type: object
      properties:
        rawId:
          description: Raw ID representation of the communication identifier. Please refer to the following document for additional information on Raw ID. <br> https://learn.microsoft.com/azure/communication-services/concepts/identifiers?pivots=programming-language-rest#raw-id-representation
          type: string
        role:
          $ref: '#/components/schemas/Role'
    Role:
      description: The role of a room participant. The default value is Attendee.
      enum:
      - Presenter
      - Attendee
      - Consumer
      type: string
      x-ms-enum:
        name: Role
        modelAsString: true
    ParticipantProperties:
      required:
      - role
      type: object
      properties:
        role:
          $ref: '#/components/schemas/Role'
    UpdateParticipantsRequest:
      description: Participants to be updated in the room.
      type: object
      properties:
        participants:
          description: Participants to be updated.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ParticipantProperties'
          example:
            rawId1:
              role: Presenter
            rawId2:
              role: Attendee
            rawId3: null
    UpdateParticipantsResult:
      description: Request response for updating participants.
      type: object
  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 ACS (Azure Communication Services) user access token.
x-ms-parameterized-host:
  hostTemplate: '{endpoint}'
  useSchemePrefix: false
  parameters:
  - $ref: '#/components/parameters/Endpoint'