---
title: "Adicionar tag"
method: POST
path: "/tags"
---

# Adicionar tag

`POST /tags`

## Request body

- object
  - `name` string, required — Nome da tag.
  - `belongs` integer, required — Pertence à: 1: oportunidade, 2: pessoa, 3: empresa.
  - `color` string — Cor da tag: vermelho: "danger", verde: "primary", azul: "success", amarelo: "warning" , cinza: "default".
  - `active` boolean — Status ativo/inativo da tag: false: tag inativa, true: tag ativa.

## Response `201`

201

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `id` integer
    - `account_id` integer
    - `user_id` integer
    - `name` string
    - `color` string
    - `belongs` integer

## Other responses

- `404` — 404
- `422` — 422

---

[API](https://skmtc.dev/pipe/apis/application-json.md) · [All operations](https://skmtc.dev/pipe/apis/application-json/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pipe/application-json/revisions/0a130198f0a3/schema)
