# Add a tag to a student

`POST https://{domain}/api/v1/usuario/adicionar_tag`

Operation ID: `users.tags.add` · API v1

Adds a tag to a student. When the student already has the tag, returns the existing link.

## Request body

Content type: `application/json`, required.

| Field | Type | Required | Description |
|---|---|---|---|
| `tag_id` | integer | yes | Tag ID. |
| `usuario_id` | integer | yes | Student ID. |

## Responses

### 200

The link between the student and the tag.

Body: object.

### 401

The Authorization header is missing, or the key does not exist or was deleted.

Body: HandlerError.

### 409

msg is Usuário não encontrado or Tag não encontrada in the v1 envelope, or a missing field in the shorter error body.

Body: Error or HandlerError.

Full schema: https://cademi.dev/openapi/v1.json
