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

Fetch a list of messages in the users organization and its child organizations.

<Note>
  External Documentation

  To learn more, visit the [Cisco Advanced Phishing Protection documentation](https://apidoc.appc.cisco.com/reference/get_messages).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter       | Description                                                             |
  | --------------- | ----------------------------------------------------------------------- |
  | Advanced Search | Search using the advanced search syntax.                                |
  | End Date        | The latest date time a search should target. Current date as default.   |
  | Limit           | The amount of records to be returned.                                   |
  | Offset          | The offset of the returned records.                                     |
  | Start Date      | The earliest date time a search should target. Current date as default. |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"authenticity": 0,
		"date": "2024-01-29T20:55:39.492Z",
		"domain_reputation": 0,
		"from": "user@example.com",
		"from_domain": "example.com",
		"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
		"mail_from": "user@example.com",
		"message_id": "string",
		"message_trust_score": 0,
		"reply_to": "user@example.com",
		"sbrs": "string",
		"uris": [
			"string"
		],
		"subject": "string",
		"timestamp_ms": 0,
		"to": "string",
		"attachment_extensions": [
			"string"
		],
		"attachment_filenames": [
			"string"
		],
		"attachment_sha256": [
			"string"
		],
		"attachment_types": [
			"string"
		],
		"attack_types": [
			"string"
		],
		"dkim_result": "string",
		"dmarc_result": "string",
		"domain_dmarc_policy": "string",
		"domain_tags": [
			"string"
		],
		"enforcement_action": "string",
		"enforcement_folder": "string",
		"enforcement_result": "string",
		"expanded_from": "user@example.com",
		"forwarded_from": "user@example.com",
		"has_attachment": true,
		"has_malicious_attachment": true,
		"ip": "string",
		"message_details_link": "string",
		"org_domain": "example.com",
		"policy_ids": [
			0
		],
		"ptr_name": "string",
		"message_read_status": true,
		"sender_approval_state": "string",
		"sender_type": "string",
		"spf_result": "string"
	}
]
```

## Workflow Library Example

[List Messages with Cisco Advanced Phishing Protection and Send Results Via Email](https://library.blinkops.com/workflows/list-messages-with-cisco-advanced-phishing-protection-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-messages-with-cisco-advanced-phishing-protection-and-send-results-via-email/canvas" />
</div>
