hornet icon

hornet

Interact with hornet API

Actions452

Mx Relays → Mx Relays Get

AI-generated

Summary

Retrieves MX relay details for a given object ID from the Hornet security API.

Inputs

  • object_id (required) — ID of an object (user, customer, or partner). Passed as query parameter.
  • APP-ID (required) — Application identifier issued by Hornet. Passed as a custom header.
  • requestOptions.batching.batch.batchSize — Number of items per batch; -1 disables batching (default 50).
  • requestOptions.batching.batch.batchInterval — Delay between batches in milliseconds; 0 disables (default 1000).
  • requestOptions.allowUnauthorizedCerts — Ignore SSL certificate errors (default false).
  • requestOptions.proxy — HTTP proxy URL, optionally with credentials (default empty).
  • requestOptions.timeout — Request timeout in ms, minimum 1 (default 10000).

Output shape

json

Returns the API response body for the MX relays endpoint matching the supplied object_id.

Examples

Example 1: Get MX relay data for a user.

Set object_id to the user's ID, provide your APP-ID, and keep other options at defaults.

Links

Discussion