naresh_kota

Email reminders

0 votes

Hi Team,

How to set email reminder parameters while creating JSON request?

Below parameters we are using to set expiry option at the time of Transaction creation.

1. DefaultTimeBasedExpiry

2. Remaining days

Is there any way to set reminder parameters during transaction creation?


Reply to: Email reminders

0 votes

Hi Naresh,

 

The reminder related metadata is not a part of the package JSON, so you need a separate call to configure it (guide here):

HTTP Request

POST /api/packages/{packageId}/reminders

HTTP Headers

Accept: application/json

Content-Type: application/json

Authorization: Basic api_key

Request Payload

{

"startInDaysDelay": 1,

"repetitionsCount": 5,

"intervalInDays": 1,

"packageId": "{packageId}"

}

Where:

"startInDaysDelay" means how many days when the first reminder be sent out

"intervalInDays" means after the initial reminder, the interval days between the repeated reminders 

"repetitionsCount" means after the initial reminder, the count of the repeated reminders

For example "startInDaysDelay" : 10, "intervalInDays": 3, "repetitionsCount": 2 means, the first reminder will be sent 10 days after, second reminder will be sent 13 days after, and the third reminder will be sent 16 days after, total of 3 reminders

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Email reminders

0 votes

Thanks Duo for the information.

Is it necessary that PACKAGE status should be DRAFT while setting reminder parameters? Can we schedule reminders while PACKAGE is in SENT status?

 

Thanks,

Radhika


Reply to: Email reminders

0 votes

Hey there, 

 

Is it possible to set email reminders (pre-set email.remind) at an account level or has it always been at the transaction level? If yes, can you please share a reference guide on how to complete this?

 

 


Reply to: Email reminders

0 votes

Hi Patel,

 

Yes, you can set email reminders at account level. If you have enabled self-served account settings, you can directly configure it at your admin portal, see attachment. Otherwise, please contact our support team to set up your account settings.

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Attachments

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off