---
title: "Add a vote to a comment"
method: POST
path: "/comments/{id}/vote"
---

# Add a vote to a comment

`POST /comments/{id}/vote`

## Path parameters

- `id` string, required

## Headers

- `x-apikey` string, required

## Request body

- object
  - `data` string, required — Vote type. Can be either `positive`, `negative` or `abuse`

## Response `200`

200

- object

## Other responses

- `400` — 400

---

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