> ## 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 Events

Retrieve a list of events.

**Note:** To pass additional Zabbix parameters, use the **Additional Parameters** field with the following format:

```
{
  "params": {
    "output": "extend",
    "selectAcknowledges": "extend"
  }
}
```

For more information about the request permissions, refer to [Zabbix API documentation](https://www.zabbix.com/documentation/7.4/en/manual/web_interface/frontend_sections/users/user_roles).

<Note>
  External Documentation

  To learn more, visit the [Zabbix documentation](https://www.zabbix.com/documentation/7.4/en/manual/api/reference/event/get).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter    | Description                                                                                                                                                                                                                                 |
  | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Acknowledged | Select to return only acknowledged events.                                                                                                                                                                                                  |
  | Event IDs    | A comma-separated list of event IDs to filter events by.                                                                                                                                                                                    |
  | Group IDs    | Select the user groups to filter results by. Can be obtained from the `List User Groups` action.                                                                                                                                            |
  | Host IDs     | A comma-separated list of host IDs to filter results by. Can be obtained from the `List Hosts` action.                                                                                                                                      |
  | Limit        | The maximum number of results to return.                                                                                                                                                                                                    |
  | Request ID   | The ID to send with the request.                                                                                                                                                                                                            |
  | Search       | The search query to filter events by.<br /><br />For more information about the search supported types, refer to [Zabbix data types documentation](https://www.zabbix.com/documentation/7.4/en/manual/api/reference_commentary#data-types). |
  | Time From    | The start time to filter results from.                                                                                                                                                                                                      |
  | Time Till    | The end time to filter results to.                                                                                                                                                                                                          |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter             | Description                                                                                                                                                                                                                                                                                                                                                                                                              |
  | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Additional Parameters | A JSON object for additional body parameters. Values specified in this parameter will override equivalent parameters.<br /><br />For example:<br /><pre><code>\{<br />    "first\_key": 12345,<br />    "second\_key": "some\_value"<br />}</code></pre>The object must follow the vendor's structure as defined in the [API documentation](https://www.zabbix.com/documentation/7.4/en/manual/api/reference/event/get). |
</div>

## Example Output

```json theme={"dark"}
{
	"jsonrpc": "2.0",
	"result": [
		{
			"eventid": "503",
			"source": "0",
			"object": "0",
			"objectid": "23162",
			"clock": "1747212236",
			"value": "1",
			"acknowledged": "1",
			"ns": "413470863",
			"name": "Number of installed packages has been changed",
			"severity": "2",
			"r_eventid": "0",
			"c_eventid": "0",
			"correlationid": "0",
			"userid": "0",
			"cause_eventid": "0",
			"acknowledges": [
				{
					"userid": "10",
					"action": "2"
				}
			],
			"opdata": "",
			"suppressed": "0",
			"urls": []
		}
	],
	"id": 1
}
```

## Workflow Library Example

[List Events with Zabbix and Send Results Via Email](https://library.blinkops.com/workflows/list-events-with-zabbix-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-events-with-zabbix-and-send-results-via-email/canvas" />
</div>
