hornet icon

hornet

Interact with hornet API

Actions452

Email Preview → Emails Preview Link Post

AI-generated

Summary

Generates a preview link for a specific email using its ES identifier.

Inputs

  • APP-ID (required) — A unique identifier specific to your application issued by Hornetsecurity.
  • es_identifier (required) — The ES identifier of the email to generate a preview link for.
  • valid_until — Expiration timestamp specifying until when the preview link remains valid.
  • use_limit — Maximum number of times the generated link can be used.

Output shape

a single record

Returns a JSON object containing the created preview link and its metadata.

Examples

Example 1: Generate an email preview link with a usage limit

Set APP-ID to your application ID, es_identifier to 'email_12345', and use_limit to 5.

Links

Discussion