Solvimon workflows API

The workflows API from Solvimon — 6 operation(s) for workflows.

Operations 8

GET /v{version}/workflows Get all workflows #
POST /v{version}/workflows Create a workflow #
GET /v{version}/workflows/{resourceIdOrReference} Get workflow by ID or reference #
PATCH /v{version}/workflows/{resourceIdOrReference} Update a workflow by ID or reference #
POST /v{version}/workflows/{resourceIdOrReference}/deactivate Deactivate a workflow #
POST /v{version}/workflows/{resourceIdOrReference}/activate Activate a workflow #
POST /v{version}/workflows/{resourceIdOrReference}/archive Archive a workflow #
POST /v{version}/workflows/search Search workflows #

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/solvimon-workflows-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 email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

solvimon-workflows-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Configuration alertRules Workflows API
  version: 1.0.0
servers:
- url: https://test.api.solvimon.com
  description: The TEST environment for our API
- url: https://api.solvimon.com
  description: The live environment for our API
tags:
- name: workflows
paths:
  /v{version}/workflows:
    get:
      operationId: getWorkflows
      summary: Get all workflows
      description: Returns paginated workflow definitions for the authenticated platform. Use this to inspect workflow definitions, their target use cases, and their current status. Requires the WORKFLOW.VIEW permission.
      tags:
      - workflows
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: limit
        in: query
        description: The amount of records shown in the list
        required: false
        schema:
          type: integer
      - name: page
        in: query
        description: The page which is going to be shown
        required: false
        schema:
          type: integer
      - name: order_by
        in: query
        description: The parameter by which the response is ordered.
        required: false
        schema:
          type: string
      - name: order_direction
        in: query
        description: The order direction by which the response is ordered.
        required: false
        schema:
          type: string
      - name: X-API-KEY
        in: header
        required: true
        schema:
          type: string
      - name: x-platform-id
        in: header
        description: Platform ID.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowPaginatedResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    post:
      operationId: postWorkflows
      summary: Create a workflow
      description: Creates a workflow definition. Set the target type, provide the corresponding configuration block, and use workflow triggers later to execute the workflow for a concrete resource instance. Requires the WORKFLOW.CREATE permission.
      tags:
      - workflows
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: X-API-KEY
        in: header
        required: true
        schema:
          type: string
      - name: x-platform-id
        in: header
        description: Platform ID.
        required: false
        schema:
          type: string
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workflow'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowCreateRequest'
  /v{version}/workflows/{resourceIdOrReference}:
    get:
      operationId: getWorkflowsByResourceIdOrReference
      summary: Get workflow by ID or reference
      description: Fetches a single workflow definition using either its resource ID or reference. Requires the WORKFLOW.VIEW permission.
      tags:
      - workflows
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: resourceIdOrReference
        in: path
        description: The ID or reference of the resource.
        required: true
        schema:
          type: string
          default: ''
      - name: X-API-KEY
        in: header
        required: true
        schema:
          type: string
      - name: x-platform-id
        in: header
        description: Platform ID.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workflow'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    patch:
      operationId: patchWorkflowsByResourceIdOrReference
      summary: Update a workflow by ID or reference
      description: Updates workflow fields. Requires the WORKFLOW.UPDATE permission.
      tags:
      - workflows
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: resourceIdOrReference
        in: path
        description: The ID or reference of the resource.
        required: true
        schema:
          type: string
          default: ''
      - name: X-API-KEY
        in: header
        required: true
        schema:
          type: string
      - name: x-platform-id
        in: header
        description: Platform ID.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workflow'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowUpdateRequest'
  /v{version}/workflows/{resourceIdOrReference}/deactivate:
    post:
      operationId: postWorkflowsByResourceIdOrReferenceDeactivate
      summary: Deactivate a workflow
      description: Transitions a workflow to INACTIVE. so it's stops matching and executing the workflow without archiving it. Requires the WORKFLOW.UPDATE permission.
      tags:
      - workflows
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: resourceIdOrReference
        in: path
        description: The ID or reference of the resource.
        required: true
        schema:
          type: string
          default: ''
      - name: X-API-KEY
        in: header
        required: true
        schema:
          type: string
      - name: x-platform-id
        in: header
        description: Platform ID.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workflow'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /v{version}/workflows/{resourceIdOrReference}/activate:
    post:
      operationId: postWorkflowsByResourceIdOrReferenceActivate
      summary: Activate a workflow
      description: Transitions a workflow to ACTIVE so it can be matched by workflow trigger creation. Requires the WORKFLOW.UPDATE permission.
      tags:
      - workflows
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: resourceIdOrReference
        in: path
        description: The ID or reference of the resource.
        required: true
        schema:
          type: string
          default: ''
      - name: X-API-KEY
        in: header
        required: true
        schema:
          type: string
      - name: x-platform-id
        in: header
        description: Platform ID.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workflow'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /v{version}/workflows/{resourceIdOrReference}/archive:
    post:
      operationId: postWorkflowsByResourceIdOrReferenceArchive
      summary: Archive a workflow
      description: Transitions a workflow to ARCHIVED. Archived workflows cannot be updated again. Requires the WORKFLOW.UPDATE permission.
      tags:
      - workflows
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: resourceIdOrReference
        in: path
        description: The ID or reference of the resource.
        required: true
        schema:
          type: string
          default: ''
      - name: X-API-KEY
        in: header
        required: true
        schema:
          type: string
      - name: x-platform-id
        in: header
        description: Platform ID.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workflow'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /v{version}/workflows/search:
    post:
      operationId: postWorkflowsSearch
      summary: Search workflows
      description: Searches workflow definitions with the provided search body and optional query filters. Requires the WORKFLOW.VIEW permission.
      tags:
      - workflows
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: expand[]
        in: query
        description: The id fields of the resources that are going to be expanded.
        required: false
        schema:
          type: array
          items:
            type: string
      - name: limit
        in: query
        description: The amount of records shown in the list
        required: false
        schema:
          type: integer
      - name: page
        in: query
        description: The page which is going to be shown
        required: false
        schema:
          type: integer
      - name: order_by
        in: query
        description: The parameter by which the response is ordered.
        required: false
        schema:
          type: string
      - name: order_direction
        in: query
        description: The order direction by which the response is ordered.
        required: false
        schema:
          type: string
      - name: statuses[]
        in: query
        description: Filter workflows by one or more statuses such as ACTIVE, INACTIVE, DRAFT, or ARCHIVED.
        required: false
        schema:
          type: array
          items:
            type: string
      - name: X-API-KEY
        in: header
        required: true
        schema:
          type: string
      - name: x-platform-id
        in: header
        description: Platform ID.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowPaginatedResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchCreateRequest'
components:
  schemas:
    WorkflowStatus:
      type: string
      enum:
      - ACTIVE
      - INACTIVE
      - DRAFT
      - ARCHIVED
      description: Status of the workflow.
      title: WorkflowStatus
    WorkflowType:
      type: string
      enum:
      - INVOICE
      - PAYMENT
      - PRICING_PLAN_SUBSCRIPTION
      - WALLET
      description: Resource type the workflow runs for. This selects the matching workflow configuration and trigger data.
      title: WorkflowType
    PaginationLinks:
      type: object
      properties:
        first:
          type:
          - string
          - 'null'
        previous:
          type:
          - string
          - 'null'
        current:
          type:
          - string
          - 'null'
        next:
          type:
          - string
          - 'null'
      title: PaginationLinks
    WorkflowUpdateRequestType:
      type: string
      enum:
      - INVOICE
      - PAYMENT
      - PRICING_PLAN_SUBSCRIPTION
      - WALLET
      description: Resource type the workflow runs for. This selects the matching workflow configuration and trigger data.
      title: WorkflowUpdateRequestType
    WalletWalletBalance:
      type: object
      properties:
        wallet_type_id:
          type:
          - string
          - 'null'
          description: Resource ID of type WALLET_TYPE
        comparator:
          $ref: '#/components/schemas/WalletWalletBalanceComparator'
          description: For wallet workflows only LESS_THAN is supported.
        threshold:
          $ref: '#/components/schemas/WalletThreshold'
      description: Defines the overdue schedule used by an invoice workflow.
      title: WalletWalletBalance
    ApiErrorCode:
      type: string
      enum:
      - RESOURCE_NOT_FOUND
      - RESOURCES_NOT_FOUND
      - UNABLE_TO_PROCESS_INSTRUCTIONS
      - BAD_REQUEST
      - UNSUPPORTED_MEDIA_TYPE
      - RESOURCE_ALREADY_EXISTS
      - CUSTOM_FIELD_VALUE_ALREADY_EXISTS
      - COULD_NOT_CREATE_RESOURCE
      - COULD_NOT_UPDATE_RESOURCE
      - COULD_NOT_DELETE_RESOURCE
      - MISSING_VERSION
      - UNSUPPORTED_VERSION
      - UNAUTHORISED
      - CUSTOMER_NOT_FOUND
      - PLATFORM_NOT_FOUND
      - PRICING_PLAN_NOT_FOUND
      - PRODUCT_NOT_FOUND
      - PRODUCT_ITEM_NOT_FOUND
      - PRICING_NOT_FOUND
      - PRICING_ITEM_NOT_FOUND
      - USER_NOT_FOUND
      - METER_NOT_FOUND
      - METER_VALUE_NOT_FOUND
      - METER_PROPERTY_NOT_FOUND
      - PRICING_ITEM_SUMMARIES_NOT_FOUND
      - MISSING_ID
      - INVALID_ID
      - MISSING_REFERENCE
      - MISSING_FIELD
      - INVALID_FIELD
      - INVALID_OPERATION
      - INTERNAL_ERROR
      - USER_NOT_ALLOWED
      - IDEMPOTENCY_CHECK_FAILED
      - INVALID_REQUEST
      title: ApiErrorCode
    InvoiceWorkflowUpdateRequest:
      type: object
      properties:
        variant:
          $ref: '#/components/schemas/InvoiceWorkflowUpdateRequestVariant'
          description: Invoice workflow variant that determines which invoice condition starts the workflow.
        overdue:
          $ref: '#/components/schemas/InvoiceOverdue'
          description: Overdue workflow settings that define the overdue steps used for execution.
        upcoming_payment:
          $ref: '#/components/schemas/InvoiceUpcomingPayment'
          description: Upcoming payment reminder settings that define when reminders are sent before the charge date.
      description: Defines the invoice-specific workflow settings that determine when invoice workflows should run.
      title: InvoiceWorkflowUpdateRequest
    WalletWorkflow:
      type: object
      properties:
        variant:
          $ref: '#/components/schemas/WalletWorkflowVariant'
          description: Wallet workflow variant that determines which wallet condition starts the workflow.
        wallet_balance:
          $ref: '#/components/schemas/WalletWalletBalance'
          description: Wallet balance workflow settings that define the configuration used for execution.
      description: Defines the wallet-specific workflow settings that determine when wallet workflows should run.
      title: WalletWorkflow
    ApiError:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/ApiErrorType'
        code:
          $ref: '#/components/schemas/ApiErrorCode'
        field:
          type:
          - string
          - 'null'
        message:
          type: string
        resource_id:
          type:
          - string
          - 'null'
        resource_type:
          oneOf:
          - $ref: '#/components/schemas/ApiErrorResourceType'
          - type: 'null'
      required:
      - type
      - code
      - message
      title: ApiError
    Workflow:
      type: object
      properties:
        object_type:
          type:
          - string
          - 'null'
        id:
          type:
          - string
          - 'null'
        name:
          type: string
          description: Name of the workflow.
        description:
          type:
          - string
          - 'null'
          description: Description of what the workflow is used for.
        type:
          $ref: '#/components/schemas/WorkflowType'
          description: Resource type the workflow runs for. This selects the matching workflow configuration and trigger data.
        reference:
          type: string
          description: Unique reference.
        status:
          $ref: '#/components/schemas/WorkflowStatus'
          description: Status of the workflow.
        created_at:
          type:
          - string
          - 'null'
          description: Date time when the workflow was created.
        updated_at:
          type:
          - string
          - 'null'
          description: Date time when the workflow was last updated.
        customer_ids:
          type:
          - array
          - 'null'
          items:
            type: string
          description: Customer scope for the workflow. This limits which customers can use the workflow when it is triggered.
        invoice:
          $ref: '#/components/schemas/InvoiceWorkflow'
          description: Invoice workflow configuration that defines how the workflow runs for invoice events and executions.
        payment:
          $ref: '#/components/schemas/PaymentWorkflow'
          description: Payment workflow configuration that defines how the workflow runs for payment events and executions.
        pricing_plan_subscription:
          $ref: '#/components/schemas/PricingPlanSubscriptionWorkflow'
          description: Pricing plan subscription workflow configuration that defines how the workflow runs for subscription events and executions.
        wallet:
          $ref: '#/components/schemas/WalletWorkflow'
          description: Wallet workflow configuration that defines how the workflow runs for wallet (balance) events and executions.
      description: Defines a workflow for a resource, including its scope, status and the configuration that controls how it runs.
      title: Workflow
    WorkflowPaginatedResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Workflow'
          description: Page data.
        limit:
          type:
          - integer
          - 'null'
          description: Page size limit used for this response.
        page:
          type:
          - integer
          - 'null'
          description: Current page number (1-indexed).
        links:
          $ref: '#/components/schemas/PaginationLinks'
          description: Pagination navigation links.
        total_number_of_pages:
          type:
          - integer
          - 'null'
          description: Deprecated. Not supported anymore.
      required:
      - data
      - links
      description: Paginated response wrapper for workflow definitions.
      title: WorkflowPaginatedResponse
    PeriodType:
      type: string
      enum:
      - DAY
      - WEEK
      - MONTH
      - YEAR
      title: PeriodType
    WorkflowCreateRequestStatus:
      type: string
      enum:
      - ACTIVE
      - INACTIVE
      - DRAFT
      - ARCHIVED
      description: Status of the workflow.
      title: WorkflowCreateRequestStatus
    InvoiceWorkflowCreateRequestVariant:
      type: string
      enum:
      - TO_FINAL
      - OVERDUE
      - UPCOMING_PAYMENT_REMINDER
      description: Invoice workflow variant that determines which invoice condition starts the workflow.
      title: InvoiceWorkflowCreateRequestVariant
    PricingPlanSubscriptionWorkflow:
      type: object
      properties:
        variant:
          $ref: '#/components/schemas/PricingPlanSubscriptionWorkflowVariant'
        reminder_periods:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Period'
      title: PricingPlanSubscriptionWorkflow
    InvoiceWorkflowVariant:
      type: string
      enum:
      - TO_FINAL
      - OVERDUE
      - UPCOMING_PAYMENT_REMINDER
      description: Invoice workflow variant that determines which invoice condition starts the workflow.
      title: InvoiceWorkflowVariant
    PaymentWorkflowUpdateRequest:
      type: object
      properties:
        variant:
          $ref: '#/components/schemas/PaymentWorkflowUpdateRequestVariant'
          description: Payment workflow variant that determines which payment condition starts the workflow.
      description: Defines the payment-specific workflow settings that determine when payment workflows should run.
      title: PaymentWorkflowUpdateRequest
    WalletThreshold:
      type: object
      properties:
        percentage:
          type:
          - string
          - 'null'
        amount:
          $ref: '#/components/schemas/Amount'
        credits:
          $ref: '#/components/schemas/Credits'
      title: WalletThreshold
    WorkflowCreateRequestType:
      type: string
      enum:
      - INVOICE
      - PAYMENT
      - PRICING_PLAN_SUBSCRIPTION
      - WALLET
      description: Resource type the workflow runs for. This selects the matching workflow configuration and trigger data.
      title: WorkflowCreateRequestType
    PricingPlanSubscriptionWorkflowUpdateRequestVariant:
      type: string
      enum:
      - FREE_TRIAL_REMINDER
      title: PricingPlanSubscriptionWorkflowUpdateRequestVariant
    ApiErrorResourceType:
      type: string
      enum:
      - CUSTOMER
      - CUSTOM_FIELD
      - PLATFORM
      - PLATFORM_UPTODATE
      - METER
      - METER_VALUE
      - METER_PROPERTY
      - METER_VALUE_CALCULATION
      - INGEST_DATA
      - METER_DATA
      - CHARGE_DATA
      - PERSIST_DATA
      - ADJUSTMENT_DATA
      - PRODUCT_CATEGORY
      - PRODUCT
      - PRODUCT_ITEM
      - PRICING
      - PRICING_GROUP
      - PRICING_ITEM
      - PRICING_ITEM_CONFIG
      - PRICING_PLAN_SUBSCRIPTION
      - PRICING_PLAN_SUBSCRIPTION_GROUP
      - PRICING_PLAN_SCHEDULE
      - PRICING_PLAN
      - PRICING_PLAN_VERSION
      - QUOTE
      - QUOTE_VERSION
      - QUOTE_TEMPLATE
      - API_KEY
      - USER
      - ROLE
      - PROXY_USER
      - EXTERNAL_CREDENTIALS
      - TOKEN
      - INVOICE
      - E_INVOICE
      - PDF
      - BILLING_ENTITY
      - FEATURE
      - MEMBERSHIP
      - PAYMENT
      - PAYMENT_ACCEPTOR
      - PAYMENT_METHOD
      - PAYMENT_METHOD_OPTIONS
      - PAYMENT_SCHEDULE
      - PAYMENT_REQUEST
      - INTEGRATION
      - WEBHOOK
      - FILE
      - FILE_PROCESSING_SETTINGS
      - TEAM
      - DOWNLOAD_URL
      - CSV_REPORT
      - REPORT
      - REPORT_GENERATE_REQUEST
      - REPORT_CONFIGURATION
      - REPORT_SUBSCRIPTION
      - REPORT_DEFINITION
      - ACCOUNT_GROUP
      - ENTITY
      - EVENT_TRACE
      - EVENT_TRACE_LINK
      - PRICING_CATEGORY
      - CONTACT
      - ALERT_RULE
      - ALERT
      - AUDIT_RECORD
      - PORTAL_URL
      - AUTHENTICATION_PROVIDER
      - REPROCESS
      - APPROVAL_POLICY
      - APPROVAL_REQUEST
      - BULK_ACTION
      - COUPON
      - PROMOTION_CODE
      - WALLET
      - WALLET_TYPE
      - WALLET_GRANT
      - WORKFLOW
      - WORKFLOW_TRIGGER
      - WORKFLOW_ACTION
      - CREDIT_TYPE
      - SIGNATURE_REQUEST
      - ATTACHMENT
      - DOCUMENT
      title: ApiErrorResourceType
    WalletWorkflowUpdateRequestVariant:
      type: string
      enum:
      - WALLET_BALANCE
      description: Wallet workflow variant that determines which wallet condition starts the workflow.
      title: WalletWorkflowUpdateRequestVariant
    WorkflowCreateRequest:
      type: object
      properties:
        object_type:
          type:
          - string
          - 'null'
        id:
          type:
          - string
          - 'null'
        name:
          type: string
          description: Name of the workflow.
        description:
          type:
          - string
          - 'null'
          description: Description of what the workflow is used for.
        type:
          $ref: '#/components/schemas/WorkflowCreateRequestType'
          description: Resource type the workflow runs for. This selects the matching workflow configuration and trigger data.
        reference:
          type: string
          description: Unique reference.
        status:
          $ref: '#/components/schemas/WorkflowCreateRequestStatus'
          description: Status of the workflow.
        created_at:
          type:
          - string
          - 'null'
          description: Date time when the workflow was created.
        updated_at:
          type:
          - string
          - 'null'
          description: Date time when the workflow was last updated.
        customer_ids:
          type:
          - array
          - 'null'
          items:
            type: string
          description: Customer scope for the workflow. This limits which customers can use the workflow when it is triggered.
        invoice:
          $ref: '#/components/schemas/InvoiceWorkflowCreateRequest'
          description: Invoice workflow configuration that defines how the workflow runs for invoice events and executions.
        payment:
          $ref: '#/components/schemas/PaymentWorkflowCreateRequest'
          description: Payment workflow configuration that defines how the workflow runs for payment events and executions.
        pricing_plan_subscription:
          $ref: '#/components/schemas/PricingPlanSubscriptionWorkflowCreateRequest'
          description: Pricing plan subscription workflow configuration that defines how the workflow runs for subscription events and executions.
        wallet:
          $ref: '#/components/schemas/WalletWorkflowCreateRequest'
          description: Wallet workflow configuration that defines how the workflow runs for wallet (balance) events and executions.
      required:
      - name
      - type
      - reference
      - status
      description: Defines a workflow for a resource, including its scope, status and the configuration that controls how it runs.
      title: WorkflowCreateRequest
    WalletWorkflowCreateRequest:
      type: object
      properties:
        variant:
          $ref: '#/components/schemas/WalletWorkflowCreateRequestVariant'
          description: Wallet workflow variant that determines which wallet condition starts the workflow.
        wallet_balance:
          $ref: '#/components/schemas/WalletWalletBalance'
          description: Wallet balance workflow settings that define the configuration used for execution.
      description: Defines the wallet-specific workflow settings that determine when wallet workflows should run.
      title: WalletWorkflowCreateRequest
    PaymentWorkflow:
      type: object
      properties:
        variant:
          $ref: '#/components/schemas/PaymentWorkflowVariant'
          description: Payment workflow variant that determines which payment condition starts the workflow.
      description: Defines the payment-specific workflow settings that determine when payment workflows should run.
      title: PaymentWorkflow
    ApiErrorType:
      type: string
      enum:
      - API_ERROR
      - INVALID_REQUEST
      title: ApiErrorType
    WorkflowUpdateRequestStatus:
      type: string
      enum:
      - ACTIVE
      - INACTIVE
      - DRAFT
      - ARCHIVED
      description: Status of the workflow.
      title: WorkflowUpdateRequestStatus
    PaymentWorkflowVariant:
      type: string
      enum:
      - FAILED_PAYMENT
      description: Payment workflow variant that determines which payment condition starts the workflow.
      title: PaymentWorkflowVariant
    PricingPlanSubscriptionWorkflowCreateRequest:
      type: object
      properties:
        variant:
          $ref: '#/components/schemas/PricingPlanSubscriptionWorkflowCreateRequestVariant'
        reminder_periods:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Period'
      title: PricingPlanSubscriptionWorkflowCreateRequest
    WalletWorkflowCreateRequestVariant:
      type: string
      enum:
      - WALLET_BALANCE
      description: Wallet workflow variant that determines which wallet condition starts the workflow.
      title: WalletWorkflowCreateRequestVariant
    FilterFieldCreateRequest:
      type: object
      properties:
        name:
          type: string
        reference:
          type:
          - string
          - 'null'
        value:
          type:
          - string
          - 'null'
        values:
          type: array
          items:
            type: string
      title: FilterFieldCreateRequest
    WalletWorkflowUpdateRequest:
      type: object
      properties:
        variant:
          $ref: '#/components/schemas/WalletWorkflowUpdateRequestVariant'
          description: Wallet workflow variant that determines which wallet condition starts the workflow.
        wallet_balance:
          $ref: '#/components/schemas/WalletWalletBalance'
          description: Wallet balance workflow settings that define the configuration used for execution.
      description: Defines the wallet-specific workflow settings that determine when wallet workflows should run.
      title: WalletWorkflowUpdateRequest
    PricingPlanSubscriptionWorkflowCreateRequestVariant:
      type: string
      enum:
      - FREE_TRIAL_REMINDER
      title: PricingPlanSubscriptionWorkflowCreateRequestVariant
    InvoiceWorkflowUpdateRequestVariant:
      type: string
      enum:
      - TO_FINAL
      - OVERDUE
      - UPCOMING_PAYMENT_REMINDER
      description: Invoice workflow variant that determines which invoice condition starts the workflow.
      title: InvoiceWorkflowUpdateRequestVariant
    InvoiceWorkflowCreateRequest:
      type: object
      properties:
        variant:
          $ref: '#/components/schemas/InvoiceWorkflowCreateRequestVariant'
          description: Invoice workflow variant that determines which invoice condition starts the wo

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