---
title: "Bulk Create Labels"
method: POST
path: "/api/v4/{workspace-slug}/labels/bulk"
---

# Bulk Create Labels

`POST /api/v4/{workspace-slug}/labels/bulk`

## Request

- Base URL: `https://api.app.shortcut.com`
- URL: `https://api.app.shortcut.com/api/v4/{workspace-slug}/labels/bulk`
- Auth: HTTP bearer

Bulk Create Labels creates multiple Labels, and returns a paginated list of the created Labels.

## Path parameters

- `workspace-slug` string, required

## Query parameters

- `limit` integer
- `cursor` string
- `order_by` 'name' | 'updated_at' | 'created_at'
- `order_dir` 'desc' | 'asc'
- `filter` 'exclude_archived' | 'include_archived'
- `fields` string

## Request body

- Body1605151
  - `labels` CreateLabelParams[], required: Payloads for each Label to create.
    - `name` string, required: The name of the new Label.
    - `color` string, css-color: The hex color to be displayed with the Label (for example, "#ff0000").
    - `description` string: The description of the new Label.
    - `external_id` string: This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.

## Response `201`

Resource

- LabelEntityListWrapper
  - `$schema` string, required: The URI for the json-schema for this response.
  - `current_items` integer, required: The number of items on the current page.
  - `current_page` integer, required: The number of the current page.
  - `entities` Label[], required: The entities for this page.
    - `app_url` string: The Shortcut application url for the Label.
    - `archived` boolean: A true/false boolean indicating if the Label has been archived.
    - `color` string, nullable: The hex color to be displayed with the Label (for example, "#ff0000").
    - `created_at` string, date-time: The time/date that the Label was created.
    - `description` string: The description of the Label.
    - `entity_type` 'label': The type of this entity.
    - `epics` NestedEpicSlimList: The Epics associated with the Objective.
      - `current_items` integer, required
      - `entities` EpicSlim[], required
        - `app_url` string, required: The Shortcut application url for the Epic.
        - `entity_type` 'epic:slim', required: The type of this entity.
        - `id` integer, required: The unique ID of the Epic.
        - `name` string, required: The name of the Epic.
        - `uri` string, required: A resolvable URI for the entity that will return the full representation.
      - `list_url` string, required
      - `total_items` integer, required
    - `external_id` string, nullable: This field can be set to another unique ID. In the case that the Label has been imported from another tool, the ID in the other tool can be indicated here.
    - `id` integer: The unique ID of the Label.
    - `name` string: The name of the Label.
    - `stories` NestedStorySlimList: A list of Stories associated with this Project.
      - `current_items` integer, required
      - `entities` StorySlim[], required
        - `app_url` string, required: The Shortcut application url for the Story.
        - `entity_type` 'story:slim', required: The type of this entity.
        - `id` integer, required: The unique ID of the Story.
        - `name` string, required: The name of the Story.
        - `uri` string, required: A resolvable URI for the entity that will return the full representation.
      - `list_url` string, required
      - `total_items` integer, required
    - `updated_at` string, date-time: The time/date that the Label was updated.
    - `uri` string: A resolvable URI for the entity that will return the full representation.
  - `total_items` integer, required: The number of total items across all pages.
  - `total_pages` integer, required: The total number of pages.
  - `next_page_url` string: A URL to get the next page. Will be absent on the last page.

## Other responses

- `400`: Schema mismatch
- `404`: Resource does not exist
- `422`: Unprocessable

---

[API](https://skmtc.dev/shortcut-com/apis/shortcut-api.md) - [All operations](https://skmtc.dev/shortcut-com/apis/shortcut-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shortcut-com/apis/shortcut-api/revisions/bf2d8439832f?raw)
