---
title: "Batch create WorkflowTaskGroup"
method: POST
path: "/api/v3/workflow-task-group:batch-create"
tags: ["Workflow Task Group"]
---

# Batch create WorkflowTaskGroup

`POST /api/v3/workflow-task-group:batch-create`

## Request

- Base URL: `https://{tenant_name}.benchling.com`
- URL: `https://{tenant_name}.benchling.com/api/v3/workflow-task-group:batch-create`
- Auth: HTTP bearer

Batch create WorkflowTaskGroup synchronously in one transaction. Maximum 25 items per request.

## Request body

- object
  - `items` CreateWorkflowTaskGroupInput[], required
    - `folderId` string, required: The ID of the folder to create the workflow task group in.
    - `name` string: The name of the workflow task group.
    - `schemaId` string, required: The ID of the workflow task schema to use for the workflow task group.

## Response `201`

Created

- WorkflowTaskGroupBatchcreateResponse201
  - `items` WorkflowTaskGroup[], required
    - `__typename` string
    - `archiveReason` string, nullable
    - `archived` boolean
    - `authors` string, uri, nullable
    - `childWorkflowTaskGroups` string, uri, nullable: The list of workflow task groups for which this task group is the root in a flowchart
    - `createdAt` string, datetime
    - `creator` PrincipalRef
      - `__typename` string
      - `id` string, api_id
    - `displayId` string, nullable: User-friendly ID of the workflow task group
    - `folder` FolderRef
      - `__typename` string
      - `id` string, api_id
    - `id` string: The ID of the workflow task group
    - `modifiedAt` string, datetime
    - `name` string, nullable: The name of the workflow task group
    - `requestSubmission` RequestV2SubmissionRef
      - `__typename` string
      - `id` string, api_id
    - `rootWorkflowTaskGroup` WorkflowTaskGroupRef
      - `__typename` string
      - `id` string, api_id
    - `workflowOutputs` string, uri, nullable: The outputs of the workflow task group
    - `workflowTaskSchema` WorkflowTaskSchemaRef
      - `__typename` string
      - `id` string, api_id
    - `workflowTasks` string, uri, nullable: The tasks in the workflow task group

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `429`: Too Many Requests
- `500`: Internal Server Error

---

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