API ReferenceEvent Referencecomms.message.send_requested.v1

comms.message.send_requested.v1

Constant

import { EVENT_NAMES } from "@platform/contracts";
 
EVENT_NAMES.COMMS_MESSAGE_SEND_REQUESTED_V1;

Publishers

Subscribers

No service currently subscribes to this event.

Payload schema

z.object({
  message_id: z.string(),
  channel: z.enum(["email", "sms", "push", "in_app"]),
  template_key: z.string(),
  recipient: z.string(),
  brand_id: z.string(),
  variables: z.record(z.unknown()),
  requested_by: z.string(),
  requested_at: z.string().datetime(),
}

Delivery semantics

  • At-least-once delivery. Consumers must dedupe by event ID.
  • Fanned out to both NATS (in-cluster) and EventBridge (durable). See Events concept.