v1

latestOpenAPI 3.1.02026-07-24416405768.8 KB
z) Global Functionality

Send a global notification

Sends a notification via SMS, email, or other channels. Supports a TEMPLATE type using Handlebars templates configured via properties.

post/eclipse-conductor/rest/v1/global/notifications

Request body

cardBinstring
customerIdinteger
datastring required

Data must be sent in JSON format, Data is bound with Mustache template(templateId) so need to send the same key that is used in a template.For email attachment use key 'mediaType' & 'base64EncodedAttachment' in data JSON format

eventTypestring
ruleMatchstring
templateIdstring

Mustache template Id for notification. The eclipse will look templateId in the property if templateId is found then it will send SMS else return an error. Need to set templateId in this format in property mustache.sms.<tenantId>.<templateId> i.e If tenants set property like mustache.sms.2.auth then they can pass either mustache.sms.2.auth or auth as templateId value.

tokenIdinteger
type'EMAIL' | 'PUSH' | 'SMS' | 'TEMPLATE'
walletIdinteger

Response

No Content