---
title: "Add a comment to a graph"
method: POST
path: "/graphs/{id}/comments"
tags: ["Threat Graphs"]
---

# Add a comment to a graph

`POST /graphs/{id}/comments`

## Request

- Base URL: `https://www.virustotal.com/api/v3`
- URL: `https://www.virustotal.com/api/v3/graphs/{id}/comments`
- Auth: none required

## Path parameters

- `id` string, required

## Headers

- `x-apikey` string, required

## Request body

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

---

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