Microsoft Azure Workflow Triggers API

The Workflow Triggers API from Microsoft Azure, for workflow triggers.

GitHub OpenAPI

Operations 13

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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers List a Logic App workflow's triggers · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which triggers are defined on my Consumption Logic App workflow?”
“Can I filter or cap the number of triggers returned for a Logic Apps workflow?”
Tell an agent
List the triggers on Logic App workflow {workflowName} in resource group {resourceGroupName}, subscription {subscriptionId}.
Show the first {top} triggers of Logic Apps workflow {workflowName} in {resourceGroupName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName} Get a Logic App workflow trigger · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Where can I see the configuration of one trigger on a Consumption Logic App?”
“What state is a specific Logic Apps workflow trigger in?”
Tell an agent
Get trigger {triggerName} of Logic App workflow {workflowName} in {resourceGroupName} under subscription {subscriptionId}.
Show the details of Logic Apps trigger {triggerName} on workflow {workflowName} ({resourceGroupName}).
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/reset Reset a Logic App workflow trigger · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I reset a Logic App trigger's state so it starts fresh?”
“Can I clear a polling trigger's stored state on a workflow?”
Tell an agent
Reset trigger {triggerName} on workflow {workflowName} in {resourceGroupName}, subscription {subscriptionId}.
Clear the state of Logic App trigger {triggerName} for workflow {workflowName}, resource group {resourceGroupName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/run Run a Logic App workflow trigger now · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I manually fire a trigger on a Consumption Logic App workflow?”
“Can I kick off a Logic Apps run on demand without waiting for the schedule?”
Tell an agent
Run trigger {triggerName} of Logic App workflow {workflowName} in {resourceGroupName} ({subscriptionId}) now.
Manually fire Logic Apps trigger {triggerName} on {workflowName} in resource group {resourceGroupName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/schemas/json Get a Logic App trigger's JSON schema · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What payload shape does my Logic App's request trigger expect?”
“Can I download the JSON schema of a Consumption workflow trigger?”
Tell an agent
Get the JSON schema for trigger {triggerName} on Logic App workflow {workflowName} in {resourceGroupName}, subscription {subscriptionId}.
Show the expected request body schema of Logic Apps trigger {triggerName}, workflow {workflowName}, group {resourceGroupName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/setState Set a trigger's state from another trigger · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I copy the state of one workflow trigger onto another?”
“Is it possible to set a Logic App trigger's state from a source trigger?”
Tell an agent
Set the state of trigger {triggerName} on workflow {workflowName} in {resourceGroupName} ({subscriptionId}) from source trigger {source}.
Copy trigger state from {source} onto {triggerName} of workflow {workflowName} ({resourceGroupName}).
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/listCallbackUrl Get a Logic App trigger's callback URL · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Where do I find the HTTP endpoint URL that invokes my Consumption Logic App?”
“How can I get the signed callback URL for a Logic Apps request trigger?”
Tell an agent
Get the callback URL for trigger {triggerName} of Logic App workflow {workflowName} in {resourceGroupName}, subscription {subscriptionId}.
Give me the invoke URL of Logic Apps trigger {triggerName} on {workflowName}, resource group {resourceGroupName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/versions/{versionId}/triggers/{triggerName}/listCallbackUrl Get a trigger callback URL for a workflow version · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I get the callback URL for a trigger on an older version of my workflow?”
“What expiry can I put on a version-specific trigger callback URL?”
Tell an agent
Get the callback URL for trigger {triggerName} in version {versionId} of workflow {workflowName} ({resourceGroupName}, {subscriptionId}).
Get a callback URL for trigger {triggerName}, workflow {workflowName} version {versionId} in {resourceGroupName}, valid until {notAfter}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers List triggers of a Standard logic app workflow · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which triggers exist on a workflow hosted inside my Standard logic app site?”
“Can I list workflow triggers through an App Service site's host runtime?”
Tell an agent
List triggers of workflow {workflowName} hosted in site {name} ({resourceGroupName}, subscription {subscriptionId}).
Show the top {top} triggers for Standard workflow {workflowName} on app {name}, group {resourceGroupName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName} Get a trigger on a Standard logic app workflow · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I inspect one trigger of a workflow running in a Standard logic app?”
“Can I read a site-hosted workflow trigger's definition through the host runtime?”
Tell an agent
Get trigger {triggerName} of workflow {workflowName} hosted in site {name} ({resourceGroupName}, {subscriptionId}).
Show Standard logic app {name}'s trigger {triggerName} on workflow {workflowName}, group {resourceGroupName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/listCallbackUrl Get a Standard workflow trigger's callback URL · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Where is the callback URL for a request trigger in my Standard logic app site?”
“What's the invoke endpoint for a workflow hosted on an App Service site?”
Tell an agent
Get the callback URL for trigger {triggerName} on site {name}'s workflow {workflowName} ({resourceGroupName}, {subscriptionId}).
Give me the Standard logic app {name} invoke URL for {workflowName}/{triggerName} in {resourceGroupName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/run Run a trigger on a Standard logic app workflow · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I manually run a trigger on a workflow inside a Standard logic app?”
“Can I fire a site-hosted workflow trigger on demand?”
Tell an agent
Run trigger {triggerName} of workflow {workflowName} hosted in site {name} ({resourceGroupName}, {subscriptionId}).
Fire Standard logic app {name}'s workflow {workflowName} trigger {triggerName} now, group {resourceGroupName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/schemas/json Get a Standard workflow trigger's JSON schema · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What request schema does a trigger in my Standard logic app workflow expect?”
“Can I fetch a site-hosted workflow trigger's schema as JSON?”
Tell an agent
Get the JSON schema of trigger {triggerName} on site {name}'s workflow {workflowName} ({resourceGroupName}, {subscriptionId}).
Show the payload schema for Standard logic app {name}, workflow {workflowName}, trigger {triggerName} in {resourceGroupName}.

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-workflow-triggers-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-workflow-triggers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure LogicManagementClient Workflow Triggers API
  description: REST API for Azure Logic Apps.
  version: 2018-07-01-preview
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Workflow Triggers
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers
  : get:
      tags:
      - Workflow Triggers
      operationId: microsoftAzureWorkflowtriggersList
      description: Gets a list of workflow triggers.
      x-ms-examples:
        List workflow triggers:
          $ref: ./examples/WorkflowTriggers_List.json
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - name: resourceGroupName
        description: The resource group name.
        in: path
        required: true
        schema:
          type: string
      - name: workflowName
        description: The workflow name.
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      - name: $top
        description: The number of items to be included in the result.
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: $filter
        description: The filter to apply on the operation.
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowTriggerListResult'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-odata: '#/definitions/WorkflowTriggerFilter'
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}
  : get:
      tags:
      - Workflow Triggers
      operationId: microsoftAzureWorkflowtriggersGet
      description: Gets a workflow trigger.
      x-ms-examples:
        Get a workflow trigger:
          $ref: ./examples/WorkflowTriggers_Get.json
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - name: resourceGroupName
        description: The resource group name.
        in: path
        required: true
        schema:
          type: string
      - name: workflowName
        description: The workflow name.
        in: path
        required: true
        schema:
          type: string
      - name: triggerName
        description: The workflow trigger name.
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowTrigger'
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/reset
  : post:
      tags:
      - Workflow Triggers
      operationId: microsoftAzureWorkflowtriggersReset
      description: Resets a workflow trigger.
      x-ms-examples:
        Reset trigger:
          $ref: ./examples/WorkflowTriggers_Reset.json
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - name: resourceGroupName
        description: The resource group name.
        in: path
        required: true
        schema:
          type: string
      - name: workflowName
        description: The workflow name.
        in: path
        required: true
        schema:
          type: string
      - name: triggerName
        description: The workflow trigger name.
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/run
  : post:
      tags:
      - Workflow Triggers
      operationId: microsoftAzureWorkflowtriggersRun
      description: Runs a workflow trigger.
      x-ms-examples:
        Run a workflow trigger:
          $ref: ./examples/WorkflowTriggers_Run.json
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - name: resourceGroupName
        description: The resource group name.
        in: path
        required: true
        schema:
          type: string
      - name: workflowName
        description: The workflow name.
        in: path
        required: true
        schema:
          type: string
      - name: triggerName
        description: The workflow trigger name.
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        default:
          description: All status codes are acceptable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Object'
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/schemas/json
  : get:
      tags:
      - Workflow Triggers
      operationId: microsoftAzureWorkflowtriggersGetschemajson
      description: Get the trigger schema as JSON.
      x-ms-examples:
        Get trigger schema:
          $ref: ./examples/WorkflowTriggers_GetSchemaJson.json
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - name: resourceGroupName
        description: The resource group name.
        in: path
        required: true
        schema:
          type: string
      - name: workflowName
        description: The workflow name.
        in: path
        required: true
        schema:
          type: string
      - name: triggerName
        description: The workflow trigger name.
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonSchema'
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/setState
  : post:
      tags:
      - Workflow Triggers
      operationId: microsoftAzureWorkflowtriggersSetstate
      description: Sets the state of a workflow trigger.
      x-ms-examples:
        Set trigger state:
          $ref: ./examples/WorkflowTriggers_SetState.json
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - name: resourceGroupName
        description: The resource group name.
        in: path
        required: true
        schema:
          type: string
      - name: workflowName
        description: The workflow name.
        in: path
        required: true
        schema:
          type: string
      - name: triggerName
        description: The workflow trigger name.
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetTriggerStateActionDefinition'
        description: The workflow trigger state.
        required: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/listCallbackUrl
  : post:
      tags:
      - Workflow Triggers
      operationId: microsoftAzureWorkflowtriggersListcallbackurl
      description: Get the callback URL for a workflow trigger.
      x-ms-examples:
        Get the callback URL for a trigger:
          $ref: ./examples/WorkflowTriggers_ListCallbackUrl.json
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - name: resourceGroupName
        description: The resource group name.
        in: path
        required: true
        schema:
          type: string
      - name: workflowName
        description: The workflow name.
        in: path
        required: true
        schema:
          type: string
      - name: triggerName
        description: The workflow trigger name.
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowTriggerCallbackUrl'
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/versions/{versionId}/triggers/{triggerName}/listCallbackUrl
  : post:
      tags:
      - Workflow Triggers
      operationId: microsoftAzureWorkflowversiontriggersListcallbackurl
      description: Get the callback url for a trigger of a workflow version.
      x-ms-examples:
        Get the callback url for a trigger of a workflow version:
          $ref: ./examples/WorkflowVersionTriggers_ListCallbackUrl.json
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - name: resourceGroupName
        description: The resource group name.
        in: path
        required: true
        schema:
          type: string
      - name: workflowName
        description: The workflow name.
        in: path
        required: true
        schema:
          type: string
      - name: versionId
        description: The workflow versionId.
        in: path
        required: true
        schema:
          type: string
      - name: triggerName
        description: The workflow trigger name.
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowTriggerCallbackUrl'
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetCallbackUrlParameters'
        description: The callback URL parameters.
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers
  : get:
      tags:
      - Workflow Triggers
      operationId: microsoftAzureWorkflowtriggersList
      description: Gets a list of workflow triggers.
      x-ms-examples:
        List workflow triggers:
          $ref: ./examples/WorkflowTriggers_List.json
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/siteNameParameter'
      - name: workflowName
        description: The workflow name.
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/apiVersionParameter'
      - name: $top
        description: The number of items to be included in the result.
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: $filter
        description: The filter to apply on the operation.
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowTriggerListResult'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-odata: '#/definitions/WorkflowTriggerFilter'
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}
  : get:
      tags:
      - Workflow Triggers
      operationId: microsoftAzureWorkflowtriggersGet
      description: Gets a workflow trigger.
      x-ms-examples:
        Get a workflow trigger:
          $ref: ./examples/WorkflowTriggers_Get.json
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/siteNameParameter'
      - name: workflowName
        description: The workflow name.
        in: path
        required: true
        schema:
          type: string
      - name: triggerName
        description: The workflow trigger name.
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowTrigger'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/listCallbackUrl
  : post:
      tags:
      - Workflow Triggers
      operationId: microsoftAzureWorkflowtriggersListcallbackurl
      description: Get the callback URL for a workflow trigger.
      x-ms-examples:
        Get the callback URL for a trigger:
          $ref: ./examples/WorkflowTriggers_ListCallbackUrl.json
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/siteNameParameter'
      - name: workflowName
        description: The workflow name.
        in: path
        required: true
        schema:
          type: string
      - name: triggerName
        description: The workflow trigger name.
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowTriggerCallbackUrl'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/run
  : post:
      tags:
      - Workflow Triggers
      operationId: microsoftAzureWorkflowtriggersRun
      description: Runs a workflow trigger.
      x-ms-examples:
        Run a workflow trigger:
          $ref: ./examples/WorkflowTriggers_Run.json
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/siteNameParameter'
      - name: workflowName
        description: The workflow name.
        in: path
        required: true
        schema:
          type: string
      - name: triggerName
        description: The workflow trigger name.
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        default:
          description: Error response describing why the trigger run failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation: true
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers/{triggerName}/schemas/json
  : get:
      tags:
      - Workflow Triggers
      operationId: microsoftAzureWorkflowtriggersGetschemajson
      description: Get the trigger schema as JSON.
      x-ms-examples:
        Get trigger schema:
          $ref: ./examples/WorkflowTriggers_GetSchemaJson.json
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/siteNameParameter'
      - name: workflowName
        description: The workflow name.
        in: path
        required: true
        schema:
          type: string
      - name: triggerName
        description: The workflow trigger name.
        in: path
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonSchema'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
components:
  schemas:
    WorkflowTriggerListCallbackUrlQueries:
      type: object
      properties:
        api-version:
          type: string
          description: The api version.
        sp:
          type: string
          description: The SAS permissions.
        sv:
          type: string
          description: The SAS version.
        sig:
          type: string
          description: The SAS signature.
        se:
          type: string
          description: The SAS timestamp.
      description: Gets the workflow trigger callback URL query parameters.
    WorkflowState:
      type: string
      enum:
      - NotSpecified
      - Completed
      - Enabled
      - Disabled
      - Deleted
      - Suspended
      x-ms-enum:
        name: WorkflowState
        modelAsString: true
    KeyType:
      type: string
      enum:
      - NotSpecified
      - Primary
      - Secondary
      x-ms-enum:
        name: KeyType
        modelAsString: true
    WorkflowTriggerCallbackUrl:
      type: object
      properties:
        value:
          type: string
          readOnly: true
          description: Gets the workflow trigger callback URL.
        method:
          type: string
          readOnly: true
          description: Gets the workflow trigger callback URL HTTP method.
        basePath:
          type: string
          readOnly: true
          description: Gets the workflow trigger callback URL base path.
        relativePath:
          type: string
          readOnly: true
          description: Gets the workflow trigger callback URL relative path.
        relativePathParameters:
          type: array
          items:
            type: string
          description: Gets the workflow trigger callback URL relative path parameters.
        queries:
          $ref: '#/components/schemas/WorkflowTriggerListCallbackUrlQueries'
          description: Gets the workflow trigger callback URL query parameters.
      description: The workflow trigger callback URL.
    ResourceReference:
      type: object
      properties:
        id:
          type: string
          description: The resource id.
        name:
          type: string
          readOnly: true
          description: Gets the resource name.
        type:
          type: string
          readOnly: true
          description: Gets the resource type.
      description: The resource reference.
    RecurrenceSchedule:
      type: object
      properties:
        minutes:
          type: array
          items:
            type: integer
            format: int32
          description: The minutes.
        hours:
          type: array
          items:
            type: integer
            format: int32
          description: The hours.
        weekDays:
          type: array
          items:
            type: string
            enum:
            - Sunday
            - Monday
            - Tuesday
            - Wednesday
            - Thursday
            - Friday
            - Saturday
            x-ms-enum:
              name: DaysOfWeek
              modelAsString: false
          description: The days of the week.
        monthDays:
          type: array
          items:
            type: integer
            format: int32
          description: The month days.
        monthlyOccurrences:
          type: array
          items:
            $ref: '#/components/schemas/RecurrenceScheduleOccurrence'
          description: The monthly occurrences.
      description: The recurrence schedule.
    GetCallbackUrlParameters:
      type: object
      properties:
        notAfter:
          type: string
          format: date-time
          description: The expiry time.
        keyType:
          $ref: '#/components/schemas/KeyType'
          description: The key type.
      description: The callback url parameters.
    RecurrenceFrequency:
      type: string
      enum:
      - NotSpecified
      - Second
      - Minute
      - Hour
      - Day
      - Week
      - Month
      - Year
      x-ms-enum:
        name: RecurrenceFrequency
        modelAsString: true
    WorkflowTriggerListResult:
      type: object
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/WorkflowTrigger'
          description: A list of workflow triggers.
        nextLink:
          type: string
          description: The URL to get the next set of results.
      description: The list of workflow triggers.
    WorkflowTriggerProvisioningState:
      type: string
      enum:
      - NotSpecified
      - Accepted
      - Running
      - Ready
      - Creating
      - Created
      - Deleting
      - Deleted
      - Canceled
      - Failed
      - Succeeded
      - Moving
      - Updating
      - Registering
      - Registered
      - Unregistering
      - Unregistered
      - Completed
      x-ms-enum:
        name: WorkflowTriggerProvisioningState
        modelAsString: true
    SetTriggerStateActionDefinition:
      type: object
      additionalProperties: false
      required:
      - source
      properties:
        source:
          $ref: '#/components/schemas/WorkflowTrigger'
    JsonSchema:
      type: object
      description: The JSON schema.
      properties:
        title:
          type: string
          description: The JSON title.
        content:
          type: string
          description: The JSON content.
    DayOfWeek:
      type: string
      enum:
      - Sunday
      - Monday
      - Tuesday
      - Wednesday
      - Thursday
      - Friday
      - Saturday
      x-ms-enum:
        name: DayOfWeek
        modelAsString: false
    WorkflowTriggerRecurrence:
      type: object
      properties:
        frequency:
          $ref: '#/components/schemas/RecurrenceFrequency'
          description: The frequency.
        interval:
          type: integer
          format: int32
          description: The interval.
        startTime:
          type: string
          description: The start time.
        endTime:
          type: string
          description: The end time.
        timeZone:
          type: string
          description: The time zone.
        schedule:
          $ref: '#/components/schemas/RecurrenceSchedule'
          description: The recurrence schedule.
      description: The workflow trigger recurrence.
    Object:
      type: object
      properties: {}
    WorkflowTriggerProperties:
      type: object
      properties:
        provisioningState:
          $ref: '#/components/schemas/WorkflowTriggerProvisioningState'
          readOnly: true
          description: Gets the provisioning state.
        createdTime:
          type: string
          format: date-time
          readOnly: true
          description: Gets the created time.
        changedTime:
          type: string
          format: date-time
          readOnly: true
          description: Gets the changed time.
        state:
          $ref: '#/components/schemas/WorkflowState'
          readOnly: true
          description: Gets the state.
        status:
          $ref: '#/components/schemas/WorkflowStatus'
          readOnly: true
          description: Gets the status.
        lastExecutionTime:
          type: string
          format: date-time
          readOnly: true
          description: Gets the last execution time.
        nextExecutionTime:
          type: string
          format: date-time
          readOnly: true
          description: Gets the next execution time.
        recurrence:
          $ref: '#/components/schemas/WorkflowTriggerRecurrence'
          readOnly: true
          description: Gets the workflow trigger recurrence.
        workflow:
          $ref: '#/components/schemas/ResourceReference'
          readOnly: true
          description: Gets the reference to workflow.
      description: The workflow trigger properties.
    WorkflowTrigger:
      type: object
      properties:
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/WorkflowTriggerProperties'
          description: The workflow trigger properties.
        name:
          type: string
          readOnly: true
          description: Gets the workflow trigger name.
        type:
          type: string
          readOnly: true
          description: Gets the workflow trigger type.
      description: The workflow trigger.
      allOf:
      - $ref: '#/components/schemas/SubResource'
    SubResource:
      properties:
        id:
          type: string
          readOnly: true
          description: The resource id.
      x-ms-azure-resource: true
      description: The sub resource type.
    RecurrenceScheduleOccurrence:
      type: object
      properties:
        day:
          $ref: '#/components/schemas/DayOfWeek'
          description: The day of the week.
        occurrence:
          type: integer
          format: int32
          description: The occurrence.
      description: The recurrence schedule occurrence.
    WorkflowStatus:
      type: string
      enum:
      - NotSpecified
      - Paused
      - Running
      - Waiting
      - Succeeded
      - Skipped
      - Suspended
      - Cancelled
      - Failed
      - Faulted
      - TimedOut
      - Aborted
      - Ignored
      x-ms-enum:
        name: WorkflowStatus
        modelAsString: true
    ErrorResponse:
      description: Error response indicates Logic service is not able to process the incoming request. The error property contains the error details.
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ErrorProperties'
          description: The error properties.
    ErrorProperties:
      description: Error properties indicate why the Logic service was not able to process the incoming request. The reason is provided in the error message.
      type: object
      properties:
        code:
          description: Error code.
          type: string
        message:
          description: Error message indicating why the operation failed.
          type: string
  parameters:
    api-version:
      name: api-version
      description: The API version.
      in: query
      required: true
      schema:
        type: string
    subscriptionId:
      name: subscriptionId
      description: The subscription id.
      in: path
      required: true
      schema:
        type: string
    resourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: Name of the resource group to which the resource belongs.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
        pattern: ^[-\w\._\(\)]+[^\.]$
    subscriptionIdParameter:
      name: subscriptionId
      in: path
      description: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
      required: true
      x-ms-parameter-location: client
      schema:
        type: string
    siteNameParameter:
      name: name
      in: path
      description: Site name.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    apiVersionParameter:
      name: api-version
      in: query
      description: API Version
      required: true
      x-ms-parameter-location: client
      schema:
        type: string
  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.