> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Alerts Comments

Get all comments of the indicated alerts.

<Note>
  External Documentation

  To learn more, visit the [Devo documentation](https://docs.devo.com/space/latest/128057390/Working+with+alert+comments+using+the+API#POST---/comments/list).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                 |
  | --------- | ------------------------------------------------------------------------------------------- |
  | Alert IDs | Comma-separated list of IDs of all the alerts from which you want to retrieve the comments. |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"idAlert": 123456,
		"comments": [
			{
				"id": 709964,
				"author": {
					"id": 4076,
					"user": {
						"id": "*****",
						"email": "user@devo.com",
						"username": "Firewall Investigator",
						"telephone": "",
						"pwd": "**************",
						"status": 0,
						"validation_token": "**************",
						"defaultDomain": null,
						"updateDate": 1680613381000,
						"creationDate": 1679407982000,
						"otpSecret": "**************",
						"loginAttempts": 0,
						"recoveryAttempts": 0
					},
					"domain": {
						"id": "******",
						"name": "demo",
						"status": 0,
						"type": 12,
						"updateDate": 1651960466000,
						"creationDate": 1469195237000,
						"subscribed": 1,
						"daysLeft": 0,
						"showLanding": false,
						"reseller": null,
						"groupId": null,
						"alertsLastReseted": 1651960466000,
						"authRestrictions": false
					},
					"lastTimeLogged": 1680613391000,
					"status": 0,
					"creationDate": 1558079345000,
					"updateDate": 1680618378000,
					"pwd": "**************",
					"validationToken": "**************",
					"roleCustom": 118,
					"rolesCustom": null,
					"externalId": null,
					"owner": false,
					"alertsLastVisited": 1680618378000
				},
				"msg": "From alerts API, comment for alert 123456",
				"ack": "{\"ackUserList\":[\"4b1583b9-38e7-40b8-8364-86792d91f6bf\"]}",
				"creationDate": 1680617937000,
				"updateDate": 1680617937000,
				"elementType": "alert",
				"elementId": "133456",
				"domain": {
					"id": "1048ae29-8cae-4ae5-af29-e7d76c7de5d1",
					"name": "demo",
					"status": 0,
					"type": 12,
					"updateDate": 1651960466000,
					"creationDate": 1469195237000,
					"subscribed": 1,
					"daysLeft": 0,
					"showLanding": false,
					"reseller": null,
					"groupId": null,
					"alertsLastReseted": 1651960466000,
					"authRestrictions": false
				},
				"title": "This is a comment for alert 123456",
				"status": null,
				"task": false
			}
		]
	},
	{
		"idAlert": 789012,
		"comments": [
			{
				"id": 709965,
				"author": {
					"id": 4076,
					"user": {
						"id": "******",
						"email": "user@devo.com",
						"username": "Firewall Investigator",
						"telephone": "",
						"pwd": "**************",
						"status": 0,
						"validation_token": "**************",
						"defaultDomain": null,
						"updateDate": 1680613381000,
						"creationDate": 1679407982000,
						"otpSecret": "**************",
						"loginAttempts": 0,
						"recoveryAttempts": 0
					},
					"domain": {
						"id": "******",
						"name": "demo",
						"status": 0,
						"type": 12,
						"updateDate": 1651960466000,
						"creationDate": 1469195237000,
						"subscribed": 1,
						"daysLeft": 0,
						"showLanding": false,
						"reseller": null,
						"groupId": null,
						"alertsLastReseted": 1651960466000,
						"authRestrictions": false
					},
					"lastTimeLogged": 1680613391000,
					"status": 0,
					"creationDate": 1558079345000,
					"updateDate": 1680618378000,
					"pwd": "**************",
					"validationToken": "**************",
					"roleCustom": 118,
					"rolesCustom": null,
					"externalId": null,
					"owner": false,
					"alertsLastVisited": 1680618378000
				},
				"msg": "From alerts API, comment for alert 789012",
				"ack": "{\"ackUserList\":[\"4b1583b9-38e7-40b8-8364-86792d91f6bf\"]}",
				"creationDate": 1680617937000,
				"updateDate": 1680617937000,
				"elementType": "alert",
				"elementId": "789012",
				"domain": {
					"id": "1048ae29-8cae-4ae5-af29-e7d76c7de5d1",
					"name": "demo",
					"status": 0,
					"type": 12,
					"updateDate": 1651960466000,
					"creationDate": 1469195237000,
					"subscribed": 1,
					"daysLeft": 0,
					"showLanding": false,
					"reseller": null,
					"groupId": null,
					"alertsLastReseted": 1651960466000,
					"authRestrictions": false
				},
				"title": "This is a comment for alert 789012",
				"status": null,
				"task": false
			}
		]
	}
]
```

## Workflow Library Example

[List Alerts Comments with Devo and Send Results Via Email](https://library.blinkops.com/workflows/list-alerts-comments-with-devo-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-alerts-comments-with-devo-and-send-results-via-email/canvas" />
</div>
