hornet icon

hornet

Interact with hornet API

Actions452

Emails → Emails Search Single Email Post

AI-generated

Summary

Search and retrieve details for a single email by its Elasticsearch ID and object ID.

Inputs

  • Object Id (required) — The ID of the object (user, customer, or partner) associated with the email.
  • APP ID (required) — Unique app identifier issued by Hornetsecurity, passed in the request header.
  • Es Mail Id (required) — The unique Elasticsearch ID of the target email.
  • Request Options — Optional HTTP request configurations including proxy, timeout, certificate validation, and batching.

Output shape

a single record

Returns JSON object containing details of the specified email.

Examples

Example 1: Retrieve details for a specific email by Elasticsearch ID

Set Object Id to 101, APP ID to 'app_12345', and Es Mail Id to 'es_mail_98765'.

Links

Discussion