hornet icon

hornet

Interact with hornet API

Actions452

Email Statistics → Emails Statistics Summary Post

AI-generated

Summary

Emails Statistics Summary Post

Inputs

  • object_id (required) — ID of an object (user, customer, or partner) to query statistics for.
  • APP-ID (required) — Application identifier issued by Hornet, sent as a header.
  • date_from (required) — Start date-time of the period in ISO‑8601 UTC format, sent in the request body.
  • date_to (required) — End date-time of the period in ISO‑8601 UTC format, sent in the request body; if in the future the API will use the current date‑time.
  • region — Optional region filter, sent in the request body.
  • requestOptions — Collection of additional HTTP request options (batching, SSL, proxy, timeout).

Output shape

json

The operation returns the raw HTTP response from the Hornet API, which contains the email statistics summary for the specified object and date range.

Examples

Example 1: Retrieve email statistics for a user

Set object_id to the user's ID, provide APP‑ID header, choose a date range with date_from and date_to, optionally specify region, and keep default request options.

Links

Discussion