hornet icon

hornet

Interact with hornet API

Actions452

Email Information → Email Information Get

AI-generated

Summary

Retrieve email information for a specified object (such as a user, customer, or partner) from Hornet Security.

Inputs

  • object_id (required) — The ID of the object (user, customer, or partner) to retrieve email information for.
  • APP-ID (required) — A unique identifier specific to your application issued by Hornet Security, sent as an HTTP request header.
  • search_hierarchy — When enabled, searches parent objects for email information.
  • requestOptions — Options to configure HTTP request settings such as timeout, proxy, SSL options, and batching.

Output shape

a JSON object

Returns the email information corresponding to the queried object ID.

Examples

Example 1: Fetch email information for a specific user object

Set Object Id to 1001 and provide your APP ID.

Example 2: Search parent hierarchy for email information

Set Object Id to 1001, provide your APP ID, and set Search Hierarchy to true.

Links

Discussion