hornet icon

hornet

Interact with hornet API

Actions452

Email Encryption → Email Encryption Communication Settings Export Post

AI-generated

Summary

Exports email encryption communication settings based on filters and options, optionally delivering the export via email or as a downloadable file.

Inputs

  • object_id (required) — The ID of an object (user, customer, or partner).
  • direction — Direction of the mail (1=INCOMING, 2=OUTGOING).
  • page — Page number for pagination.
  • limit — Maximum number of records to return.
  • encryption_methods — List of encryption methods as strings (TLS, EMIG, DANE, SMIME, PGP, WEBSAFE). TLS is always activated.
  • is_active — Whether to include active encryption rules.
  • query — Search term for filtering email encryption rules.
  • APP-ID (required) — A unique identifier specific to your app issued by the service. Sent as an HTTP header.
  • export_type (required) — Defines how the export is delivered: 'download' returns the file in the node output, 'email' sends it to the specified address.
  • email — Email address where the export will be sent when export_type is 'email'.
  • export_keys — The columns to be exported, expressed as a JSON array.

Output shape

When export_type is 'download', the node returns the exported file as binary data. When export_type is 'email', it returns a confirmation indicating the export was emailed.

Additional request options such as batching, SSL verification, proxy, and timeout are available under the node's 'Request Options' section and control how the underlying HTTP request is made.

Examples

Example 1: Download an export of active email encryption settings for a specific customer

Set object_id to the customer ID, direction to 2 (OUTGOING), limit to 100, encryption_methods to [TLS,SMIME], is_active to true, export_type to download, and optionally provide export_keys to select specific columns.

Links

Discussion