---
title: "Create Legacy Request Tasks for a Legacy Request"
method: POST
path: "/requests/{request_id}/tasks:bulk-create"
tags: ["legacyRequests"]
---

# Create Legacy Request Tasks for a Legacy Request

`POST /requests/{request_id}/tasks:bulk-create`

## Request

- Base URL: `https://{tenant_name}.benchling.com/api/v2`
- URL: `https://{tenant_name}.benchling.com/api/v2/requests/{request_id}/tasks:bulk-create`
- Auth: HTTP bearer

Create Legacy Request Tasks for a Legacy Request

## Path parameters

- `request_id` string, required

## Request body

- RequestTasksBulkCreateRequest
  - `tasks` RequestTasksBulkCreate[], required: The Legacy Request Tasks to create
    - `fields` Fields
    - `sampleGroupIds` string[]: IDs of all Legacy Request Sample Groups now associated with this task.
    - `schemaId` string, required: The schema id of the Legacy Request Task to create

## Response `200`

OK

- RequestTasksBulkCreateResponse
  - `tasks` RequestTask[]: The created Legacy Request Tasks
    - `fields` Fields
    - `sampleGroupIds` string[]: IDs of all Legacy Request Sample Groups now associated with this task.
    - `id` string, required: ID of the Legacy Request Task
    - `schema` SchemaSummary
      - `id` string
      - `name` string

## Other responses

- `400`: Bad Request

---

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