---
title: "Batch create Unit"
method: POST
path: "/api/v3/unit:batch-create"
tags: ["Unit"]
---

# Batch create Unit

`POST /api/v3/unit:batch-create`

## Request

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

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

## Request body

- object
  - `items` CreateUnitInput[], required
    - `aliases` string[], required: Alternative abbreviations for this unit, e.g. alternate symbols.
    - `conversionFactor` string, decimal, required: Conversion factor relative to the UnitType's base unit.
    - `name` string, required: The long-form name, e.g. "milliliter".
    - `symbol` string, required: The short-form label, e.g. "mL".
    - `unitTypeId` string, required: The API ID of the UnitType this unit belongs to.

## Response `201`

Created

- UnitBatchcreateResponse201
  - `items` Unit[], required
    - `__typename` string
    - `aliases` string[]: Any additional short-form labels that should be recognized in input
    - `archiveReason` string, nullable
    - `archived` boolean
    - `conversionFactor` string, decimal: Conversion factor relative to the UnitType's baseUnit. E.g. for a kilometer, the baseUnit is meter and the conversionFactor is 1000.
    - `createdAt` string, datetime, nullable
    - `id` string
    - `modifiedAt` string, datetime, nullable
    - `name` string: Default long-form identifier, e.g. "meter".
    - `symbol` string: Default short-form label, e.g. "m" for meter.
    - `unitType` UnitTypeRef
      - `__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/c9f087b98b8b?raw)
