---
title: "Validate Workflow"
method: POST
path: "/organizations/{orgId}/integrationdestinations/workflows/validate"
tags: ["IntegrationDestinations"]
---

# Validate Workflow

`POST /organizations/{orgId}/integrationdestinations/workflows/validate`

## Request

- Base URL: `https://api.m3ter.com`
- URL: `https://api.m3ter.com/organizations/{orgId}/integrationdestinations/workflows/validate`
- Auth: OAuth 2
  - Authorization code: `https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/authorize`, token URL `https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/token`
  - Client credentials, token URL `/oauth/token`
- TypeScript: <https://skmtc.dev/m3ter-com/apis/m3ter-api/docs/organizations/:orgId/integrationdestinations/workflows/validate/post.ts> (a function with typed inputs; its response is checked against the schema)

Validate workflow

## Path parameters

- `orgId` string, required

## Request body

- ValidateWorkflowRequest: Validate a list of functions and their parameters
  - `initialFunction` string
  - `functions` AbstractFunctionRequest[]
    - `functionId` string
    - `title` string
    - `description` string
    - `className` string
    - `parameters` object
    - `exits` object
      - `TRUE` string
      - `FALSE` string
      - `VALID` string
      - `INVALID` string
      - `NEXT` string
      - `TERMINATE` string
      - `ERROR` string
  - `globalParameters` AbstractGlobalParameter[]
    - `name` string
    - `type` string, required
    - `constraints` object

## Response `200`

ValidateWorkflow 200 response

- ValidateWorkflowResponse: Response containing validation errors
  - `validationErrors` object

## Other responses

- `4XX`: Error message
- `5XX`: Error message

## Changes

- **2026-10-16** `85c514abc692`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/m3ter-com/apis/m3ter-api/changes/organizations/:orgId/integrationdestinations/workflows/validate/post.md)

---

[API](https://skmtc.dev/m3ter-com/apis/m3ter-api.md) - [All operations](https://skmtc.dev/m3ter-com/apis/m3ter-api/llms.txt) - [OpenAPI document](https://skmtc.dev/m3ter-com/apis/m3ter-api/revisions/85c514abc692?raw)
