hornet icon

hornet

Interact with hornet API

Actions452

ATP Subscription → Atp Subscriptions Atp Notification Emails Post

AI-generated

Summary

Add a notification email address for a customer object in the ATP Subscription service, specifying whether the address should receive real-time and/or ex-post alerts.

Inputs

  • Object Id (required) — Numeric identifier of the customer object to which the notification email will be added.
  • APP ID (required) — Unique app identifier provided by the service, sent in request headers for authentication.
  • Email (required) — Email address to add to the ATP notification emails list.
  • Real Time Alert — Boolean flag indicating whether this email should receive ATP real-time alerts.
  • Ex Post Alert — Boolean flag indicating whether this email should receive ATP ex-post alerts.

Output shape

a single response object confirming the creation or update of the notification email for the specified customer object

The response includes details about the notification email settings. The operation requires authentication credentials and sends a POST request with the email and alert flags in the body, the object ID as a query parameter, and APP ID in headers.

Examples

Example 1: Add an email with real-time alerts enabled to a customer with ID 1234

Object Id=1234, APP ID='your-app-id', Email='notify@example.com', Real Time Alert=true, Ex Post Alert=false.

Links

Discussion