Resending email notifications through REST API
Thursday, November 11, 2021 at 10:56amHi Duo,
Hope you are doing well!
In reference to resending email notifications to signers through the API, I have a question. I have been some testing through REST API in Postman to see resend email notification(email.notify) and I understand that RoleID is unique i.e., each signer has a unique RoleID, then how is it possible to link all the signers of a package to a role? I am not clear on that. Please correct me if I am wrong – Isn’t it for a group email address where there might be N number of recipients in a group? Therefore, when you run a POST API call - /api/packages/{packageId}/roles/{roleId}/notifications, the roleId here is associated to the group email address, but that is not what I am looking for.
I am looking for a POST API call where I can resend email.notify for all the signers of a package in just one call versus running the POST call multiple times.
With this POST API call /api/packages/{packageId}/notifications, in the payload request JSON, can I not include all the signers of a package? I tried to test it, but it failed. For e.g., if you pass just one signer at a time, it works fine.
{
"email": [email protected],
"message": "Please sign ASAP!"
}
But in the same Request payload JSON, if you include multiple signers, it doesn’t work, is there an alternative to make this work? Please advise.
In the other POST call /api/packages/{packageId}/roles/{roleId}/notifications, you don’t need to have any request payload JSON, you just need to specify a roleId in the API call itself and execute, and it works fine. But the notification is sent to that signer only.
For e.g., https://sandbox.e-signlive.ca/api/packages/ASD1d5l2jxkq3ZO12wRArO49Aw0=/roles/Signer1/notifications
Question still remains, how can we send the resend email.notify to all the signers of a package in one API call? Please advise.
Note: We are using REST API only.
At our end, the scenarios we are wanting to cover is:
- Incomplete Package – Send Notify email to the next signer in the package (How does this work with no signing order?)
- Complete Package – Send Notify email (or Complete Email) to all signers, in case they have deleted their emails with links back to their package
Please advise.
Thank you & Regards,
Rajiv Nagpur
Reply to: Resending email notifications through REST API
Thursday, November 11, 2021 at 10:58amImage added.
Reply to: Resending email notifications through REST API
Thursday, November 11, 2021 at 11:45amHi Rajiv,
Great to hear from you!
Unfortunately, OneSpan Sign only supports to re-send notification to one signer each time. Even in our sender UI (there's a "remind all" button), it sends multiple calls behind the scene.
Duo