Events
Action |
Event name |
creating a scheduled notification |
schedulednotifications.created |
updating a scheduled notification |
schedulednotifications.updated |
delete an existing scheduled notification |
schedulednotifications.deleted |
Payload example created and updated
{
"id": "string",
"attemptId": "string",
"livemode": "boolean",
"created": "int",
"event": "string",
"data": {
"_id": "5f243d100617680712e78dd5",
"accountId": "5f243d100617680712e78dd6",
"name": "Notification 1",
"transport": "email",
"subject": "subject of the email",
"body": "body of the email",
"type": "prejourney",
"accountId": "5959c7007ee12686d000033",
"executionParams": {
"hrsRelativeToJourney": "12:00",
"dow": {
"monday": true,
"tuesday": true,
"wednesday": true,
"thursday": true,
"friday": true,
"saturday": true,
"sunday": true
}
},
"createdBy": "5f243d100617680712e78dd7",
"updatedBy": "5f243d100617680712e78dd7",
"createdAt": {
"value": "2020-11-10T15:02:10Z",
"offset": 0
},
"updatedAt": {
"value": "2020-11-10T15:02:10Z",
"offset": 0
}
}
Payload example deleted
{
"id": "string",
"attemptId": "string",
"livemode": "boolean",
"created": "int",
"event": "string",
"data": {
"scheduledNotificationId": "5f243d100617680712e78dd5"
}
}