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

# Batch create Salt

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

## Request

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

Batch create Salt synchronously in one transaction. Maximum 4 items per request.

## Headers

- `EARLY-ACCESS` string

## Request body

- object
  - `items` CreateSaltInput[], required
    - `code` string, nullable: Optional configurable identifier for this salt (e.g., "HCl"). Must be unique (case-insensitive) across the Salt & Solvate library.
    - `name` string, required: The name of the salt. Must be unique (case-insensitive) across the Salt & Solvate library.
    - `smiles` string, required: The SMILES of the salt. It is neutralized (uncharged) before storage, and the canonical SMILES and molecular formula are derived from it. Immutable after creation.

## Response `201`

Created

- SaltBatchcreateResponse201
  - `items` Salt[], required
    - `__typename` string
    - `archiveReason` string, nullable
    - `archived` boolean
    - `calculatedMolecularWeight` number, double, nullable: The molecular weight of the salt.
    - `canonicalSmiles` string: The SMILES representation of the salt after standardization.
    - `code` string, nullable: Optional configurable identifier for this salt (e.g., "HCl", "MS"). Unique across both salts and solvents within a tenant.
    - `createdAt` string, datetime
    - `id` string
    - `modifiedAt` string, datetime
    - `molecularFormula` string: The molecular formula (e.g., "HCl").
    - `molfile` string: The molfile representation of the salt.
    - `name` string

## 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)
