---
title: "Add a comment to a domain"
method: POST
path: "/domains/{domain}/comments"
---

# Add a comment to a domain

`POST /domains/{domain}/comments`

## Request

- Base URL: `https://www.virustotal.com/api/v3`
- URL: `https://www.virustotal.com/api/v3/domains/{domain}/comments`
- Auth: none required
- TypeScript: <https://skmtc.dev/virustotal/apis/virustotal-api-v3/docs/domains/:domain/comments/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `domain` string, required

## Headers

- `x-apikey` string, required

## Request body

- object
  - `data` string, json: A comment object

## Response `200`

200

- object

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/virustotal/apis/virustotal-api-v3.md) - [All operations](https://skmtc.dev/virustotal/apis/virustotal-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/virustotal/apis/virustotal-api-v3/revisions/d2de390925aa?raw)
