---
title: "Bulk create Features"
method: POST
path: "/features:bulk-create"
tags: ["featureLibraries"]
---

# Bulk create Features

`POST /features:bulk-create`

## Request

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

Bulk create Features

## Request body

- FeaturesBulkCreateRequest: Inputs for bulk creating a new feature
  - `features` FeatureBulkCreate[]
    - `color` string: The color of the annotations generated by the feature. Must be a valid hex string
    - `featureLibraryId` string, required: The id of the feature library the feature belongs to
    - `featureType` string, nullable, required: The type of feature, like gene, promoter, etc. Note: This is an arbitrary string, not an enum
    - `name` string, required: The name of the feature
    - `pattern` string, required: The pattern used for matching during auto-annotation.
    - `matchType` 'nucleotide' | 'protein', required: The match type of the feature. Used to determine how auto-annotate matches are made.

## Response `202`

This endpoint launches a [long-running task](https://docs.benchling.com/docs/api/v2/benchling-api/tasks/get-task) and returns the Task ID of the launched task.
The task response contains the full list of features that were created.

- AsyncTaskLink
  - `taskId` 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)
