0

Not receiving email notification when triggering subscription which is created through rest API

Hello,

I have created a subscription using rest API but when I trigger this subscription, I am not receiving email notification. Even the other recipients who are subscribed to this subscription are receiving the notification. Only the owner is not receiving notification.

I am using below payload:

{
"name": "Test Subscription",
"description": "",
"form": {
"id": "cab9004d-259a-40dc-9fe8-81ea7e32d6a6"
},
"owner": {
"id": "1931ddd3-aaf4-4e83-9a63-a9a09371653e"
},
"notificationDelay": 0,
"criteria": [
{
"name": "markets",
"operator": "IS_ONE_OR_MORE_OF",
"values": [
"AB",
"AL",
"AR",
"AT"
]
},
{
"name": "priority",
"operator": "IS_ONE_OR_MORE_OF",
"values": [
"P2",
"P3"
]
},
{
"name": "services",
"operator": "IS_ONE_OR_MORE_OF",
"values": [
"1",
"2",
"3",
"4",
"5"
]
}
],
"recipients": [
{
"id": "1931ddd3-aaf4-4e83-9a63-a9a09371653e"
}
],
"targetDeviceNames": [
{
"name": "Alternate Email"
},
{
"name": "Android Phone"
},
{
"name": "Android Tablet"
},
{
"name": "iPad"
},
{
"name": "iPhone"
},
{
"name": "SMS Phone"
},
{
"name": "Work Email"
}
]
}

Is there anything I need to pass along with the request?

 

 

3 comments

Please sign in to leave a comment.