---
title: "Create tag"
method: POST
path: "/tag"
tags: ["[v1] Tags"]
---

# Create tag

`POST /tag`

Create tag. Do not provide `tag_id` in url, because while creating new tag a new, unique `tag_id` will be made. If you provide `tag_id` in url, a 400 HTTP response is returned.

## Request body

- object
  - `list` union, required — tag list id - to this list a newly created tag will be added
    - string
    - integer
  - `name` string, required — tag name

## Response `200`

OK Response returns newly created tag id.

- integer

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/timecamp/apis/timecamp-api.md) · [All operations](https://skmtc.net/timecamp/apis/timecamp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/timecamp/timecamp-api/revisions/c7e9d1f9cf61/schema)
