---
title: "Batch create RequestV2Definition"
method: POST
path: "/api/v3/request-v2-definition:batch-create"
tags: ["Request Template"]
---

# Batch create RequestV2Definition

`POST /api/v3/request-v2-definition:batch-create`

## Request

- Base URL: `https://{tenant_name}.benchling.com`
- URL: `https://{tenant_name}.benchling.com/api/v3/request-v2-definition:batch-create`
- Auth: HTTP bearer

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

## Headers

- `EARLY-ACCESS` string

## Request body

- object
  - `items` CreateRequestV2DefinitionInput[], required
    - `description` string, nullable: Description of the request template. Must not exceed 1024 characters and must not contain a null character.
    - `name` string, required: Name of the request template. Must not be empty, must not exceed 255 characters, and must not contain a null character.
    - `prefix` string, required: Prefix for the displayId of requests created from this template.
    - `taskSchemaId` string, required: API ID of the workflow task schema that defines the task structure and fields for this request template.
    - `templateCollectionId` string, required: API ID of the template collection that this request template belongs to.

## Response `201`

Created

- RequestV2DefinitionBatchcreateResponse201
  - `items` RequestV2Definition[], required
    - `archiveReason` string, nullable
    - `archived` boolean
    - `createdAt` string, datetime, nullable
    - `creator` PrincipalRef
      - `__typename` string
      - `id` string, api_id
    - `description` string, nullable: Description of the request template.
    - `id` string
    - `modifiedAt` string, datetime, nullable
    - `name` string
    - `prefix` string: The prefix for the displayId of tasks of this schema.
    - `templateCollection` TemplateCollectionRef
      - `__typename` string
      - `id` string, api_id
    - `webUrl` string, nullable
    - `workflowTaskSchema` WorkflowTaskSchemaRef
      - `__typename` string
      - `id` string, api_id

## 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/3873a10bf7b8?raw)
