Kaseya Workflow API

The Workflow API from Kaseya — 9 operation(s) for workflow.

Operations 12

GET /v2/admin/workflows/{id} #
DELETE /v2/admin/workflows/{id} #
PUT /v2/admin/workflows/{id} #
PATCH /v2/admin/workflows/{id} #
POST /v2/admin/workflows #
POST /v2/admin/workflows/{workflowId}/clone #
POST /v2/admin/workflows/search #
GET /v2/admin/workflows/timezone/{locationId} #
GET /v2/admin/workflows/{workflowId}/agentprocedure/{id}/logs #
GET /v2/admin/workflows/satisfactionscore/lookup #
GET /v2/admin/workflows/system/servicetype/lookup #
GET /v2/admin/workflows/customfieldoperator #

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/kaseya-workflow-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

kaseya-workflow-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: BMS API 2.0 Workflow API
  description: Documentation of APIs Version 2.0
  version: '2.0'
servers:
- url: https://api.bms.kaseya.com
security:
- bearerAuth: []
tags:
- name: Workflow
paths:
  /v2/admin/workflows/{id}:
    get:
      tags:
      - Workflow
      operationId: GetWorkflow
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkflowOutputDtoResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowOutputDtoResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkflowOutputDtoResponse'
    delete:
      tags:
      - Workflow
      operationId: DeleteWorkflow
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
    put:
      tags:
      - Workflow
      operationId: PutWorkflow
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/WorkflowPutInputDto'
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowPutInputDto'
          text/json:
            schema:
              $ref: '#/components/schemas/WorkflowPutInputDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/WorkflowPutInputDto'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkflowOutputDtoResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowOutputDtoResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkflowOutputDtoResponse'
    patch:
      tags:
      - Workflow
      operationId: PatchWorkflow
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json-patch+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Operation'
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Operation'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Operation'
          application/*+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Operation'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkflowOutputDtoResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowOutputDtoResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkflowOutputDtoResponse'
  /v2/admin/workflows:
    post:
      tags:
      - Workflow
      operationId: PostWorkflow
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/WorkflowPostInputDto'
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowPostInputDto'
          text/json:
            schema:
              $ref: '#/components/schemas/WorkflowPostInputDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/WorkflowPostInputDto'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkflowOutputDtoResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowOutputDtoResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkflowOutputDtoResponse'
  /v2/admin/workflows/{workflowId}/clone:
    post:
      tags:
      - Workflow
      operationId: CloneWorkflow
      parameters:
      - name: workflowId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkflowCloningOutputDtoResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowCloningOutputDtoResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkflowCloningOutputDtoResponse'
  /v2/admin/workflows/search:
    post:
      tags:
      - Workflow
      operationId: GetWorkflowsList
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/WorkflowListInputDto'
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowListInputDto'
          text/json:
            schema:
              $ref: '#/components/schemas/WorkflowListInputDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/WorkflowListInputDto'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkflowListOutputDtoListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowListOutputDtoListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkflowListOutputDtoListResponse'
  /v2/admin/workflows/timezone/{locationId}:
    get:
      tags:
      - Workflow
      operationId: GetWorkflowTimeZoneAndWorkingHours
      parameters:
      - name: locationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkflowTimeZoneOutputDtoResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowTimeZoneOutputDtoResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkflowTimeZoneOutputDtoResponse'
  /v2/admin/workflows/{workflowId}/agentprocedure/{id}/logs:
    get:
      tags:
      - Workflow
      operationId: GetAgentProcedureLogs
      parameters:
      - name: workflowId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AgentProcedureLogsOutputDtoListPagedResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/AgentProcedureLogsOutputDtoListPagedResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/AgentProcedureLogsOutputDtoListPagedResponse'
  /v2/admin/workflows/satisfactionscore/lookup:
    get:
      tags:
      - Workflow
      operationId: GetSatisfactionScoreOptionsLookup
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SatisfactionScoreOptionsLookupOutputDtoListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/SatisfactionScoreOptionsLookupOutputDtoListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/SatisfactionScoreOptionsLookupOutputDtoListResponse'
  /v2/admin/workflows/system/servicetype/lookup:
    get:
      tags:
      - Workflow
      operationId: GetServiceTypeOptionsLookup
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ServiceTypeOptionsLookupOutputDtoListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceTypeOptionsLookupOutputDtoListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceTypeOptionsLookupOutputDtoListResponse'
  /v2/admin/workflows/customfieldoperator:
    get:
      tags:
      - Workflow
      operationId: GetCustomFieldOperators
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DataTypeOutputDtoListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/DataTypeOutputDtoListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/DataTypeOutputDtoListResponse'
components:
  schemas:
    WorkflowTimeSensitiveOutputDto:
      type: object
      properties:
        IsDuringBusinessHours:
          type:
          - boolean
          - 'null'
        BranchId:
          type:
          - integer
          - 'null'
          format: int32
        IsEnabled:
          type: boolean
      additionalProperties: false
    ErrorInfo:
      type: object
      properties:
        Code:
          type: integer
          format: int32
        Message:
          type:
          - string
          - 'null'
        Details:
          type:
          - string
          - 'null'
        StackStrace:
          type:
          - string
          - 'null'
        SubErrors:
          type:
          - array
          - 'null'
          items:
            type: string
      additionalProperties: false
    WorkflowConditionPostInputDto:
      type: object
      properties:
        StatusIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        StatusIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        PriorityIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        PriorityIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        SLAIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        SLAIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        IssueIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        IssueIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        SubIssueIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        SubIssueIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        SourceIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        SourceIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        TicketTypeIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        TicketTypeIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        QueueIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        QueueIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        PrimaryTechIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        PrimaryTechIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        Title:
          type:
          - string
          - 'null'
        TitleOperand:
          type:
          - integer
          - 'null'
          format: int32
        Detail:
          type:
          - string
          - 'null'
        DetailOperand:
          type:
          - integer
          - 'null'
          format: int32
        SatisfactionScoreIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        SatisfactionScoreIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        TicketEmailSender:
          type:
          - string
          - 'null'
        TicketEmailSenderOperand:
          type:
          - integer
          - 'null'
          format: int32
        ServiceContractIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        ServiceContractIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        WorkTypeIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        WorkTypeIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        OpenDateFrom:
          type:
          - string
          - 'null'
          format: date-time
        OpenDateOperand:
          type:
          - integer
          - 'null'
          format: int32
        OpenDateTo:
          type:
          - string
          - 'null'
          format: date-time
        DueDateFrom:
          type:
          - string
          - 'null'
          format: date-time
        DueDateOperand:
          type:
          - integer
          - 'null'
          format: int32
        DueDateTo:
          type:
          - string
          - 'null'
          format: date-time
        ActivityDetails:
          type:
          - string
          - 'null'
        ActivityDetailsOperand:
          type:
          - integer
          - 'null'
          format: int32
        OccurrenceCount:
          type:
          - integer
          - 'null'
          format: int32
        OccurrenceCountOperand:
          type:
          - integer
          - 'null'
          format: int32
        AccountTypeIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        AccountTypeIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        AccountNameIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        AccountNameIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        LocationIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        LocationIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        Description:
          type:
          - string
          - 'null'
        DescriptionOperand:
          type:
          - integer
          - 'null'
          format: int32
        ServiceTypeIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        ServiceTypeIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        AccountCode:
          type:
          - string
          - 'null'
        AccountCodeOperand:
          type:
          - integer
          - 'null'
          format: int32
        AccountBusinessTypeIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        AccountBusinessTypeIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        AccountManagerIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        AccountManagerIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        AccountStatusIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        AccountStatusIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        AccountAcquiredDateFrom:
          type:
          - string
          - 'null'
          format: date-time
        AccountAcquiredDateOperand:
          type:
          - integer
          - 'null'
          format: int32
        AccountAcquiredDateTo:
          type:
          - string
          - 'null'
          format: date-time
        ContactFirstName:
          type:
          - string
          - 'null'
        ContactFirstNameOperand:
          type:
          - integer
          - 'null'
          format: int32
        ContactMiddleName:
          type:
          - string
          - 'null'
        ContactMiddleNameOperand:
          type:
          - integer
          - 'null'
          format: int32
        ContactLastName:
          type:
          - string
          - 'null'
        ContactLastNameOperand:
          type:
          - integer
          - 'null'
          format: int32
        ContactJobTitle:
          type:
          - string
          - 'null'
        ContactJobTitleOperand:
          type:
          - integer
          - 'null'
          format: int32
        ContactStatusIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        ContactStatusIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        ContactPOCIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        ContactPOCIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        ContactReceiveInvoiceIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        ContactReceiveInvoiceIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        ContactHasClientPortalAccessIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        ContactHasClientPortalAccessIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetName:
          type:
          - string
          - 'null'
        AssetNameOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetDescription:
          type:
          - string
          - 'null'
        AssetDescriptionOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetCategoryIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        AssetCategoryIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetBusinessImpactIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        AssetBusinessImpactIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetStateIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        AssetStateIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetStateBrandIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        AssetStateBrandIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetManufacturerIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        AssetManufacturerIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetMachineGroupId:
          type:
          - string
          - 'null'
        AssetMachineGroupIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetProductName:
          type:
          - string
          - 'null'
        AssetProductNameOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetSerialNumber:
          type:
          - string
          - 'null'
        AssetSerialNumberOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetModelNumber:
          type:
          - string
          - 'null'
        AssetModelNumberOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetTag:
          type:
          - string
          - 'null'
        AssetTagOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetAcquisitionDateFrom:
          type:
          - string
          - 'null'
          format: date-time
        AssetAcquisitionDateOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetAcquisitionDateTo:
          type:
          - string
          - 'null'
          format: date-time
        AssetExpirationDateFrom:
          type:
          - string
          - 'null'
          format: date-time
        AssetExpirationDateOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetExpirationDateTo:
          type:
          - string
          - 'null'
          format: date-time
        AssetWarrantyExpDateFrom:
          type:
          - string
          - 'null'
          format: date-time
        AssetWarrantyExpDateOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetWarrantyExpDateTo:
          type:
          - string
          - 'null'
          format: date-time
        AssetBarcode:
          type:
          - string
          - 'null'
        AssetBarcodeOperand:
          type:
          - integer
          - 'null'
          format: int32
        AssetVendorIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        AssetVendorIdOperand:
          type:
          - integer
          - 'null'
          format: int32
      additionalProperties: false
    WorkflowConditionCustomFieldInputDto:
      type: object
      properties:
        CustomFieldId:
          type: integer
          format: int32
        Operand:
          type: integer
          format: int32
        Value:
          type:
          - string
          - 'null'
      additionalProperties: false
    WorkflowListInputDto:
      type: object
      properties:
        PageSize:
          type: integer
          format: int32
        PageNumber:
          type: integer
          format: int32
        StartRowIndex:
          type: integer
          format: int32
          readOnly: true
        EndRowIndex:
          type: integer
          format: int32
          readOnly: true
        Sort:
          type:
          - string
          - 'null'
        Exclude:
          type:
          - string
          - 'null'
        Filter:
          $ref: '#/components/schemas/WorkflowFilterDto'
      additionalProperties: false
    WorkflowTriggerInputDto:
      type: object
      properties:
        TicketCreatedBy:
          type:
          - integer
          - 'null'
          format: int32
        TicketUpdatedBy:
          type:
          - integer
          - 'null'
          format: int32
        TicketActivityBy:
          type:
          - integer
          - 'null'
          format: int32
        ActivityTypeIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        IdleFor:
          type:
          - number
          - 'null'
          format: double
        IdleForUnit:
          type:
          - integer
          - 'null'
          format: int32
        DueIn:
          type:
          - number
          - 'null'
          format: double
        DueInUnit:
          type:
          - integer
          - 'null'
          format: int32
        OverdueBy:
          type:
          - number
          - 'null'
          format: double
        OverdueByUnit:
          type:
          - integer
          - 'null'
          format: int32
        SLAFirstResponseDueIn:
          type:
          - number
          - 'null'
          format: double
        SLAFirstResponseDueInUnit:
          type:
          - integer
          - 'null'
          format: int32
        SLAFirstResponseOverdueBy:
          type:
          - number
          - 'null'
          format: double
        SLAFirstResponseOverdueByUnit:
          type:
          - integer
          - 'null'
          format: int32
        SLAResolutionDueIn:
          type:
          - number
          - 'null'
          format: double
        SLAResolutionDueInUnit:
          type:
          - integer
          - 'null'
          format: int32
        SLAResolutionOverdueBy:
          type:
          - number
          - 'null'
          format: double
        SLAResolutionOverdueByUnit:
          type:
          - integer
          - 'null'
          format: int32
      additionalProperties: false
    WorkflowCloningOutputDto:
      type: object
      properties:
        Id:
          type: integer
          format: int32
      additionalProperties: false
    AgentProcedureLogsOutputDtoListPagedResponse:
      type: object
      properties:
        Success:
          type: boolean
          readOnly: true
        Error:
          $ref: '#/components/schemas/ErrorInfo'
        Result:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/AgentProcedureLogsOutputDto'
        TotalRecords:
          type: integer
          format: int32
      additionalProperties: false
    DataTypeOutputDtoListResponse:
      type: object
      properties:
        Success:
          type: boolean
          readOnly: true
        Error:
          $ref: '#/components/schemas/ErrorInfo'
        Result:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/DataTypeOutputDto'
      additionalProperties: false
    WorkflowListOutputDtoListResponse:
      type: object
      properties:
        Success:
          type: boolean
          readOnly: true
        Error:
          $ref: '#/components/schemas/ErrorInfo'
        Result:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/WorkflowListOutputDto'
      additionalProperties: false
    WorkflowNotificationInputDto:
      type: object
      properties:
        AssignedResources:
          type:
          - boolean
          - 'null'
        ResourcesIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        AssignedQueues:
          type:
          - boolean
          - 'null'
        AccountAssociatedResources:
          type:
          - boolean
          - 'null'
        CreatedByResource:
          type:
          - boolean
          - 'null'
        TicketContact:
          type:
          - boolean
          - 'null'
        TicketCC:
          type:
          - boolean
          - 'null'
        POCs:
          type:
          - boolean
          - 'null'
        EmailTemplateId:
          type:
          - integer
          - 'null'
          format: int32
        OtherEmails:
          type:
          - array
          - 'null'
          items:
            type: string
        ContactsIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        TeamsChannelIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        ShowInternalNotesToOtherEmails:
          type:
          - boolean
          - 'null'
      additionalProperties: false
    WorkflowOutputDto:
      type: object
      properties:
        id:
          type: integer
          format: int32
        Name:
          type:
          - string
          - 'null'
        Description:
          type:
          - string
          - 'null'
        IsActive:
          type:
          - boolean
          - 'null'
        Triggers:
          $ref: '#/components/schemas/WorkflowTriggerOutputDto'
        TimeSensitives:
          $ref: '#/components/schemas/WorkflowTimeSensitiveOutputDto'
        Conditions:
          $ref: '#/components/schemas/WorkflowConditionOutputDto'
        Updates:
          $ref: '#/components/schemas/WorkflowUpdateOutputDto'
        Notifications:
          $ref: '#/components/schemas/WorkflowNotificationOutputDto'
        AgentProcedures:
          $ref: '#/components/schemas/WorkflowAgentProcedureOutputDto'
      additionalProperties: false
    WorkingHoursDto:
      type: object
      properties:
        Weekday:
          type:
          - string
          - 'null'
        StartTime:
          type:
          - string
          - 'null'
        EndTime:
          type:
          - string
          - 'null'
      additionalProperties: false
    WorkflowConditionOutputDto:
      type: object
      properties:
        StatusIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        StatusIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        PriorityIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        PriorityIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        SLAIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        SLAIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        IssueIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        IssueIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        SubIssueIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        SubIssueIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        SourceIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        SourceIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        TicketTypeIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        TicketTypeIdOperand:
          type:
          - integer
          - 'null'
          format: int32
        QueueIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        

# --- truncated at 32 KB (71 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/kaseya/refs/heads/main/openapi/kaseya-workflow-api-openapi.yml