Microsoft Windows 10 Voice Commands API

The Voice Commands API from Microsoft Windows 10 — 2 operation(s) for voice commands.

Operations 3

GET /cortana/voice-commands Microsoft Windows 10 List voice command definitions #
POST /cortana/voice-commands Microsoft Windows 10 Install a voice command definition #
GET /cortana/voice-commands/{commandSetName} Microsoft Windows 10 Get a voice command set #

Documentation

📖
Documentation
https://learn.microsoft.com/en-us/uwp/api/
📖
GettingStarted
https://learn.microsoft.com/en-us/windows/uwp/get-started/
📖
Documentation
https://learn.microsoft.com/en-us/windows/win32/apiindex/windows-api-list
📖
GettingStarted
https://learn.microsoft.com/en-us/windows/win32/desktop-programming
📖
Documentation
https://learn.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/adaptive-interactive-toasts
📖
Documentation
https://learn.microsoft.com/en-us/windows/ai/windows-ml/api-reference
📖
GettingStarted
https://learn.microsoft.com/en-us/windows/ai/windows-ml/get-started
📖
Documentation
https://learn.microsoft.com/en-us/uwp/api/windows.storage
📖
GettingStarted
https://learn.microsoft.com/en-us/windows/uwp/files/
📖
Documentation
https://learn.microsoft.com/en-us/cortana/voice-commands/vcd
📖
Documentation
https://learn.microsoft.com/en-us/uwp/api/windows.ui.input.inking
📖
GettingStarted
https://learn.microsoft.com/en-us/windows/uwp/design/input/pen-and-stylus-interactions
📖
Documentation
https://learn.microsoft.com/en-us/windows/uwp/composition/visual-layer
📖
GettingStarted
https://learn.microsoft.com/en-us/windows/uwp/composition/using-the-visual-layer-with-xaml
📖
Documentation
https://learn.microsoft.com/en-us/windows/win32/directx
📖
GettingStarted
https://learn.microsoft.com/en-us/windows/win32/getting-started-with-directx-graphics
📖
Documentation
https://learn.microsoft.com/en-us/windows/apps/develop/audio-video-camera
📖
GettingStarted
https://learn.microsoft.com/en-us/windows/win32/medfound/audio-video-capture-in-media-foundation
📖
Documentation
https://learn.microsoft.com/en-us/windows/uwp/networking/which-networking-technology
📖
Documentation
https://learn.microsoft.com/en-us/windows/uwp/devices-sensors/bluetooth-dev-faq
📖
GettingStarted
https://learn.microsoft.com/en-us/windows/win32/bluetooth/bluetooth-programming-with-windows-sockets
📖
Documentation
https://learn.microsoft.com/en-us/uwp/api/windows.devices.geolocation
📖
Documentation
https://learn.microsoft.com/en-us/windows/win32/sensorsapi/introduction-to-the-sensor-and-location-platform-in-windows
📖
Documentation
https://learn.microsoft.com/en-us/windows/apps/develop/security/windows-hello
📖
GettingStarted
https://learn.microsoft.com/en-us/windows/apps/develop/security/windows-hello-auth-service
📖
Documentation
https://learn.microsoft.com/en-us/windows/apps/winui/winui2/
📖
GettingStarted
https://learn.microsoft.com/en-us/windows/apps/winui/winui2/getting-started
📖
Documentation
https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/applifecycle/background-tasks

Specifications

Other Resources

🔗
Examples
https://github.com/Microsoft/Windows-universal-samples
🔗
Reference
https://learn.microsoft.com/en-us/uwp/api/
🔗
SDKs
https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/
🔗
Reference
https://learn.microsoft.com/en-us/windows/win32/api/
🔗
Examples
https://github.com/microsoft/Windows-classic-samples
🔗
Examples
https://github.com/WindowsNotifications/quickstart-sending-local-toast-win10
🔗
Reference
https://learn.microsoft.com/en-us/uwp/api/windows.ui.notifications
🔗
Tutorials
https://learn.microsoft.com/en-us/windows/ai/windows-ml/tutorials
🔗
Examples
https://github.com/Microsoft/Windows-Machine-Learning
🔗
Best Practices
https://learn.microsoft.com/en-us/windows/uwp/files/best-practices-for-writing-to-files
🔗
Guidelines
https://learn.microsoft.com/en-us/cortana/voice-commands/voicecommand-design-guidelines
🔗
Examples
https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/SimpleInk
🔗
Reference
https://learn.microsoft.com/en-us/uwp/api/windows.ui.composition
🔗
Examples
https://github.com/microsoft/Windows.UI.Composition-Win32-Samples
🔗
Examples
https://github.com/microsoft/DirectX-Graphics-Samples
🔗
Reference
https://microsoft.github.io/DirectX-Specs/
🔗
Reference
https://learn.microsoft.com/en-us/uwp/api/windows.media.capture
🔗
Reference
https://learn.microsoft.com/en-us/uwp/api/windows.networking.sockets
🔗
Examples
https://learn.microsoft.com/en-us/samples/microsoft/windows-universal-samples/websocket/
🔗
Reference
https://learn.microsoft.com/en-us/windows/win32/api/_bluetooth/
🔗
Reference
https://learn.microsoft.com/en-us/windows/win32/locationapi/windows-location-api-portal
🔗
Examples
https://learn.microsoft.com/en-us/samples/microsoft/windows-universal-samples/geolocation/
🔗
Reference
https://learn.microsoft.com/en-us/uwp/api/windows.devices.sensors
🔗
Reference
https://learn.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/webauthn-apis
🔗
Reference
https://learn.microsoft.com/en-us/windows/winui/api/microsoft.ui.xaml.controls
🔗
Examples
https://github.com/microsoft/microsoft-ui-xaml
🔗
Examples
https://learn.microsoft.com/en-us/samples/microsoft/windows-universal-samples/backgroundtask/

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-windows-10-voice-commands-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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-windows-10-voice-commands-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Windows 10 Windows Background Tasks Accelerometer Voice Commands API
  description: API for running code in the background when an application is suspended or not running. Based on the Windows.ApplicationModel.Background namespace, it supports time-triggered, system-triggered, and maintenance-triggered background tasks. Key classes include BackgroundTaskBuilder, BackgroundTaskRegistration, SystemTrigger, TimeTrigger, and BackgroundTaskCompletedEventArgs.
  version: 1.0.0
  contact:
    name: Microsoft Developer Support
    url: https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/applifecycle/background-tasks
  license:
    name: Microsoft Software License
    url: https://www.microsoft.com/en-us/legal/terms-of-use
servers:
- url: https://api.windows.com
  description: Windows Platform API
tags:
- name: Voice Commands
paths:
  /cortana/voice-commands:
    get:
      operationId: listVoiceCommandDefinitions
      summary: Microsoft Windows 10 List voice command definitions
      description: Retrieves the list of installed Voice Command Definition (VCD) sets. Each VCD set defines a group of voice commands that Cortana can recognize for a specific application, including command names, phrases, and feedback text.
      tags:
      - Voice Commands
      responses:
        '200':
          description: Successful retrieval of voice command definitions
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/VoiceCommandDefinition'
    post:
      operationId: installVoiceCommandDefinition
      summary: Microsoft Windows 10 Install a voice command definition
      description: Installs a VCD file using VoiceCommandDefinitionManager.InstallCommandDefinitionsFromStorageFileAsync. The VCD file is an XML document that defines the commands, example phrases, and phrase lists that Cortana will recognize for the application.
      tags:
      - Voice Commands
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InstallVCDRequest'
      responses:
        '201':
          description: VCD installed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VoiceCommandDefinition'
        '400':
          description: Invalid VCD file
  /cortana/voice-commands/{commandSetName}:
    get:
      operationId: getVoiceCommandSet
      summary: Microsoft Windows 10 Get a voice command set
      description: Retrieves a specific voice command set by name. The command set contains the language, name, and all defined commands including their phrases and phrase lists.
      tags:
      - Voice Commands
      parameters:
      - name: commandSetName
        in: path
        required: true
        description: The name of the voice command set
        schema:
          type: string
      responses:
        '200':
          description: Successful retrieval of the voice command set
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VoiceCommandSet'
        '404':
          description: Command set not found
components:
  schemas:
    InstallVCDRequest:
      type: object
      properties:
        vcdFilePath:
          type: string
          description: Path to the VCD XML file
      required:
      - vcdFilePath
    PhraseList:
      type: object
      description: A dynamic phrase list
      properties:
        name:
          type: string
          description: Phrase list name
        items:
          type: array
          items:
            type: string
          description: Current phrases in the list
    VoiceCommandSet:
      type: object
      description: A set of voice commands with their definitions
      properties:
        name:
          type: string
          description: Command set name
        language:
          type: string
          description: Language code
        commands:
          type: array
          items:
            $ref: '#/components/schemas/VoiceCommand'
        phraseLists:
          type: array
          items:
            $ref: '#/components/schemas/PhraseList'
    VoiceCommandDefinition:
      type: object
      description: A Voice Command Definition set
      properties:
        name:
          type: string
          description: Name of the VCD set
        language:
          type: string
          description: Language code (e.g., en-us)
        commandCount:
          type: integer
          description: Number of defined commands
      required:
      - name
      - language
    VoiceCommand:
      type: object
      description: A voice command definition
      properties:
        name:
          type: string
          description: Command name
        example:
          type: string
          description: Example phrase for the command
        listenFor:
          type: array
          items:
            type: string
          description: Phrases that trigger this command
        feedback:
          type: string
          description: Text Cortana displays while processing
        navigateTo:
          type: string
          description: Page to navigate to in the app
externalDocs:
  description: Background Tasks Documentation
  url: https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/applifecycle/background-tasks