hornet icon

hornet

Interact with hornet API

Actions452

Domains → Domains Export Post

AI-generated

Summary

Export domain data for a specified object with filtering options, either by download or email delivery.

Inputs

  • Object Id (required) — The ID of an object (user, customer, or partner) whose domains to export.
  • APP ID (required) — Unique app identifier issued by Hornet Security for authentication.
  • Name — Filter domains by their domain name.
  • Domain Type — Filter domains by type, provided as a JSON array.
  • Only With Spam Filter Activated — If true, only domains with Spam and Malware Protection activated are included.
  • Domain List — A JSON array of domain IDs to explicitly export.
  • Export Type (required) — Specifies export method; either 'download' for direct file download or 'email' to send export via email.
  • Email — Email address to send the export to; required if export type is 'email'.

Output shape

a JSON object containing the export initiation result or the exported domains data if downloading

The operation sends a POST request to the Hornet API endpoint for domain exports with specified filtering and export options. If 'download' is selected, the response contains the export data directly; if 'email' is selected, the export is sent to the specified email address. Required headers and query parameters must be provided.

Links

Discussion