Create a new comment for a specific vulnerability
cURL
curl --request POST \ --url https://api.synack.com/v1/vulnerabilities/{vulnerability_id}/comments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "text": "<string>", "type": "<string>" } '
{ "id": 123, "text": "<string>", "type": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "user": { "id": "<string>", "name": "<string>", "email": "<string>", "slug": "<string>", "role": "client", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "attachments": [ { "id": 123, "filename": "<string>", "content_type": "<string>", "file_size": 123, "created_at": "2023-11-07T05:31:56Z" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Vulnerability ID
Comment text
Comment type
Comment created successfully
Show child attributes
client
researcher
admin