---
title: "Batch create StudyItemAssociation"
method: POST
path: "/api/v3/study-item-association:batch-create"
tags: ["Study Item Association"]
---

# Batch create StudyItemAssociation

`POST /api/v3/study-item-association:batch-create`

## Request

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

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

## Idempotency

Inputs with a `(studyId, itemId)` pair that already exists, including duplicate pairs in the same request, are accepted and ignored. They do not produce an error or create a duplicate association.

## Request body

- object
  - `items` CreateStudyItemAssociationInput[], required
    - `itemId` string, required
    - `studyId` string, required

## Response `201`

Created

- StudyItemAssociationBatchcreateResponse201
  - `items` StudyItemAssociation[], required
    - `__typename` string
    - `createdAt` string, datetime
    - `creator` PrincipalRef
      - `__typename` string
      - `id` string, api_id
    - `id` string
    - `item` StudyableRef
      - `__typename` string
      - `id` string, api_id
    - `study` StudyRef
      - `__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)
