Alert Comments

REST API operation for alert comments

Overview

Use these API operations to interact with alert comments in Panther.

To call the API, see the How to use the Panther REST API instructions—including directions for how to invoke it directly from this documentation page.

Required permissions

  • For GET operations, your API token must have the Read Alerts permission.

  • For POST operations, your API token must have the Manage Alerts permission.

Operations

Create a comment for an alert

post
Authorizations
X-API-KeystringRequired
Body
alertIdstringRequired

The alert ID the comment is associated with

bodystringRequired

The body of the comment

formatstring · enumRequired

The format of the comment

Possible values:
Responses
chevron-right
200

OK response.

application/json
alertIdstringOptional

The alert ID the comment is associated with

bodyanyOptional

The body of the comment

createdAtstringOptional

The date the comment was created

formatstring · enumOptional

The format of the comment

Possible values:
idstringOptional

The comment ID

updatedAtstringOptional

The date the comment was updated

post
/alert-comments

Get a comment for an alert

get
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the comment

Responses
chevron-right
200

OK response.

application/json
alertIdstringOptional

The alert ID the comment is associated with

bodyanyOptional

The body of the comment

createdAtstringOptional

The date the comment was created

formatstring · enumOptional

The format of the comment

Possible values:
idstringOptional

The comment ID

updatedAtstringOptional

The date the comment was updated

get
/alert-comments/{id}

Update a comment for an alert

post
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the comment

Body
alertIdstringRequired

The alert ID the comment is associated with

bodystringRequired

The body of the comment

formatstring · enumRequired

The format of the comment

Possible values:
Responses
chevron-right
200

OK response.

application/json
alertIdstringOptional

The alert ID the comment is associated with

bodyanyOptional

The body of the comment

createdAtstringOptional

The date the comment was created

formatstring · enumOptional

The format of the comment

Possible values:
idstringOptional

The comment ID

updatedAtstringOptional

The date the comment was updated

post
/alert-comments/{id}

List alert comments

get
Authorizations
X-API-KeystringRequired
Query parameters
alert-idstringRequired

The alert ID the comments are associated with

cursorstringOptional

the pagination token

limitinteger · int64 · max: 50Optional

the maximum results to return

Default: 25
Responses
chevron-right
200

OK response.

application/json
nextstringOptional

Pagination token for the next page of results

get
/alert-comments

Last updated

Was this helpful?