---
title: "Create a new tag"
method: POST
path: "/tags"
tags: ["tags"]
---

# Create a new tag

`POST /tags`

Creates a new tag with the specified value and object type.

**Rate limit:** 300 requests per minute

## Request body

- CreateTagRequestBody
  - `hex_color` string — The hex code of the tag's color.
  - `object_type` 'account' | 'article' | 'issue', required — The object type of the associated object. Can be "account", "article", or "issue".
  - `value` string, required — The tag value.

## Response `200`

- CreateTagResponseBody
  - `data` Tag
    - `hex_color` string — The hex code of the tag's color.
    - `id` string — The ID of the tag.
    - `object_type` 'account' | 'article' | 'issue' — The object type of the tagged object.
    - `value` string — The value of the Tag.
  - `request_id` string — The request ID for tracking.

## Other responses

- `400` — The request was invalid or could not be completed.
- `403` — The authenticated caller or organization is not allowed to access this endpoint or operation.
- `404`
- `409`
- `500` — An unexpected internal error occurred.

## Changes

> 22 revisions in range; 10 could not be searched.

- **2026-08-14** `ad855d921ee9` — 1 breaking, 3 warning, 3 info
  - request property `object_type` was restricted to a list of enum values
  - added the new `account` enum value to the `data/object_type` response property for the response status `200`
  - added the new `article` enum value to the `data/object_type` response property for the response status `200`
  - added the new `issue` enum value to the `data/object_type` response property for the response status `200`
  - …3 more
- **2026-07-31** `ef4c82769ca1` — 1 info
  - added the non-success response with the status `409`

[Change history](https://skmtc.dev/usepylon/apis/pylon-api/changes/tags/post.md)

---

[API](https://skmtc.dev/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.dev/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usepylon/pylon-api/revisions/7b12ab92de27/schema)
