---
title: "Bulk create Molecule with parent"
method: POST
path: "/api/v3/molecule:bulk-create-molecules-with-parent"
tags: ["Molecule"]
---

# Bulk create Molecule with parent

`POST /api/v3/molecule:bulk-create-molecules-with-parent`

## Request

- Base URL: `https://{tenant_name}.benchling.com`
- URL: `https://{tenant_name}.benchling.com/api/v3/molecule:bulk-create-molecules-with-parent`
- Auth: HTTP bearer

Bulk create molecules with automatic parent creation for salt form molecules. Requires salt form molecule support to be enabled for the tenant. Accepts a ScratchFile containing JSONL where each line is a JSON object matching the BulkMoleculeWithParentInput schema. When the target schema is a salt-aware Compound schema paired with a Form schema, salt/solvate fragments in each structure are automatically detected and split out to create the parent molecule. For any other schema, structures containing recognized salt/solvate fragments are rejected.

## Headers

- `EARLY-ACCESS` string

## Request body

- BulkImport
  - `fileId` string, required: The API ID of the scratch file (`scrfile_XXXXXXXX`) containing the items to import. The referenced file must be a scratch file whose upload has completed successfully.

## Response `202`

Task started

- AsyncTaskLink
  - `pollingUri` string, uri
  - `taskId` 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)
