Notification resource reference

pathtypedescription
Notification.provider*stringRequired. Provider id from the AidboxConfig resource.
Notification.providerData*objectRequired. Object which contains all provider-related fields, template and payload.
Notification.providerData.to*string or array of stringsRequired. Receiver's email.
Notification.providerData.subjectstringThe subject of the email.
Notification.providerData.bodystringThe body of the email. If template and body both provided, body has higher priority.
Notification.providerData.templatereference(NotificationTemplate)The reference to NotificationTemplate.
Notification.providerData.payloadobjectThe object with all values to be rendered in the email using templating