---
title: "Update a label"
method: PATCH
path: "/labels/{labelId}"
tags: ["Labels"]
---

# Update a label

`PATCH /labels/{labelId}`

## Request

- Base URL: `https://api.superchat.com/v1.0`
- URL: `https://api.superchat.com/v1.0/labels/{labelId}`
- Auth: API key in header `X-API-KEY`

Updates a conversation label.

## Path parameters

- `labelId` string, required

## Request body

- PAUpdateConversationLabelDTO
  - `name` string, required: The updated name of the label
  - `color` string, required: The updated hex color of the label
  - `folder_id` string, nullable: The ID of the folder to move the label into

## Response `200`

OK

- PAConversationLabelDTO
  - `id` string, required: The ID of the label
  - `name` string, required: The name of the label
  - `color` string, required: The hex color of the label
  - `folder_id` string, nullable: The ID of the folder containing the label
  - `url` string: The URL of the label resource

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-11-03** `31e7bd6f37e9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/superchat/apis/superchat-api/changes/labels/:labelId/patch.md)

---

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