问题描述
是否存在一个API端点,该端点可让我重新触发发给收件人的电子邮件?有时,用户可能不会丢失或丢失包含其签名链接的DocuSign电子邮件。我希望能够根据需要再次发送这些电子邮件。
Is there an API endpoint which allows me to retrigger emails to recipients? Sometimes users may not get or lose the DocuSign emails which contain their signing link. I'd like to be able to send those emails again on demand.
推荐答案
您可以使用修改收件人请求触发将电子邮件通知重新发送给特定收件人(s)。
You can use the "modify recipient(s)" request to trigger a re-send of the email notification to specific recipient(s).
PUT /accounts/{accountId}/envelopes/{envelopeId}/recipients?resend_envelope=true
请确保在URL中包含querystring参数/值 resend_envelope = true
Be sure to include the querystring parameter/value resend_envelope=true in the URL (as shown above).
例如,如果 GET收件人响应显示信封包含以下收件人:
For example, if a GET Recipients response shows that an Envelope contains the following recipients:
{
"signers": [
{
"name": "Jane Doe",
"email": "[email protected]",
"recipientId": "3",
"recipientIdGuid": "13e30b8d-3dd6-48e8-ad12-15237611a463",
"requireIdLookup": "false",
"userId": "2c9e06eb-f2c5-4bef-957a-5a3dbd6edd25",
"routingOrder": "1",
"status": "sent"
},
{
"name": "John Doe",
"email": "[email protected]",
"recipientId": "1",
"recipientIdGuid": "c2273f0f-1430-484a-886c-45ce2fb5e8a8",
"requireIdLookup": "false",
"userId": "03c8a856-c0ae-41bf-943d-ac6e92db66a8",
"routingOrder": "1",
"note": "",
"roleName": "Signer1",
"status": "sent",
"templateLocked": "false",
"templateRequired": "false"
}
],
"agents": [],
"editors": [],
"intermediaries": [],
"carbonCopies": [],
"certifiedDeliveries": [],
"inPersonSigners": [],
"recipientCount": "2",
"currentRoutingOrder": "1"
}
然后,我可以触发将签名邀请电子邮件重新发送给不完整的收件人(简·多伊),方法如下:
Then, I could trigger a re-send of the Signing Invitation Email to the incomplete recipient ("Jane Doe") by using the following request:
PUT https://{{env}}.docusign.net/restapi/{{version}}/accounts/{{acctId}}/envelopes/{{envelopeId}}/recipients?resend_envelope=true
{
"signers": [
{
"recipientId": "3",
"name": "Jane Doe",
"email": "[email protected]"
}
]
}
请注意,我为名称发送了相同(原始)值和电子邮件-因此,它实际上不会修改收件人-它将重新发送电子邮件给Jane,因为我加入了?resend_envelope = true
Notice that I'm sending the same (original) values for name and email -- so it's not going to actually modify the recipient -- it'll just re-send the email to Jane, since I included ?resend_envelope=true in the URL.
如果您想将电子邮件通知重新发送给所有待处理的收件人(即任何人谁是路由顺序中的下一个,尚未完成信封),您可以通过以下请求进行操作:
If you want to re-send the email notification to all pending recipients (i.e., anyone who's next in the routing order and hasn't yet completed the envelope), you can do so with the following request:
PUT https://demo.docusign.net/restapi/v2/accounts/<accountID>/envelopes/<envelopeID>?resend_envelope=true
{}
这篇关于重新发送DocuSign电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!