hornet icon

hornet

Interact with hornet API

Actions452

Emails ATP → Emails Atp Scan Post

AI-generated

Summary

Triggers an Advanced Threat Protection (ATP) scan for an email identified by its Elasticsearch mail ID.

Inputs

  • APP-ID (required) — A unique identifier specific to your application issued by Hornetsecurity, passed in the request header.
  • es_mail_id (required) — The unique Elasticsearch ID of the email to scan.
  • requestOptions — Optional HTTP request configurations including batching, proxy settings, timeout duration, and SSL certificate validation controls.

Output shape

JSON object

Returns the API response from the Hornetsecurity ATP endpoint upon initiating the scan.

Examples

Example 1: Initiate an ATP scan for a flagged email

APP-ID: my-app-id, Es Mail Id: 12345-abcde

Links

Discussion