> ## 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 with optional filtering.

<Note>
  External Documentation

  To learn more, visit the [Alertmedia documentation](https://docs.alertmedia.com/reference/get-list-events).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                                                      |
  | --------- | ---------------------------------------------------------------- |
  | Event ID  | The ID of the event to get details for.                          |
  | Is Active | Select to get events that are active.                            |
  | Title     | The title of the event to get details for.                       |
  | Urgency   | The Urgency of the event to get details for.                     |
  | User ID   | The ID of the user that was involved in the events to filter by. |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter                | Description                                                                                  |
  | ------------------------ | -------------------------------------------------------------------------------------------- |
  | Char ID                  | The ID of the char to get details of an event for.                                           |
  | Event Type Exact Name    | The exact event type name of the event to get details for.                                   |
  | Event Type ID            | The ID of the event type to get details for.                                                 |
  | Event Type Name Includes | A text that is included in an event type name to filter the results by (not case-sensitive). |
  | Has Location             | Select to get events that have a location.                                                   |
  | Since                    | The date and time to filter the events since.                                                |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"id": 12345,
		"resources": [
			{
				"id": 1,
				"url": "https://example.com/resource",
				"status": "active",
				"name": "Resource Name",
				"comment": "A comment",
				"filetype": "pdf",
				"parent": 123
			}
		],
		"author": 456,
		"customer": 789,
		"title": "Event Title",
		"photo_url": "https://example.com/photo.jpg",
		"author_details": {},
		"effective_date": "2024-01-15T10:00:00Z",
		"event_type_name": "Alert",
		"notification_count": 5,
		"attachments": [],
		"created": "2024-01-15T09:00:00Z",
		"updated": "2024-01-15T10:30:00Z",
		"status": "active",
		"urgency": "high",
		"expiration_date": "2024-01-20T10:00:00Z",
		"published": true,
		"unread_reply_count": 2,
		"read_reply_count": 3,
		"unread_post_count": 1,
		"read_post_count": 4,
		"autogenerated": false,
		"event_type": 1,
		"location": null,
		"template": null,
		"photo": null
	}
]
```

## Workflow Library Example

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