---
title: "Create a New Workflow"
method: POST
path: "/workflows/"
---

# Create a New Workflow

`POST /workflows/`

## Request

- Base URL: `https://client.apimetrics.io/api/2`
- URL: `https://client.apimetrics.io/api/2/workflows/`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/apicontext/apis/api-settings/docs/workflows/post.ts> (a function with typed inputs; its response is checked against the schema)

Use this API to create a new Workflow.

## Request body

- object
  - `meta` object
    - `name` string, required: The name of the new Workflow

## Response `200`

200

- object
  - `access` object
    - `org` boolean
    - `public` boolean
  - `meta` object
    - `name` string
    - `created` string
    - `tags` unknown[]
      - unknown
    - `last_update` string
    - `owner` string
    - `description` unknown
  - `id` string
  - `workflow` object
    - `handle_cookies` boolean
    - `call_ids` unknown[]
      - unknown
    - `stop_on_failure` boolean

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/apicontext/apis/api-settings.md) - [All operations](https://skmtc.dev/apicontext/apis/api-settings/llms.txt) - [OpenAPI document](https://skmtc.dev/apicontext/apis/api-settings/revisions/2e9a62324e82?raw)
