![](/img/trans.png)
[英]DocuSign API: webhook notifications for embedded signing ceremonies
[英]Docusign API Not Sending Webhook Event Notifications
我似乎無法獲得Docusign API eventNotification webhooks發送。 在創建信封時,我已經驗證了請求正在發送API所期望的正確的eventNotification JSON哈希值,無論是在我的端點還是通過Docusign請求日志。 沒有連接日志,即使我指定loggingEnabled為true,所以我無法獲得有意義的反饋。 我已經嘗試將requireAcknowledgment設置為true,如另一個答案中提到的,以及許多其他設置組合。 我已經詳細閱讀了文檔和許多關於SO的類似問題,但這些建議都沒有對我有用。
非常感謝任何幫助或見解。
對於初學者,有沒有一種方法可以在Docusign方面驗證事件通知是否實際上是從請求中創建的?
這是信封創建請求JSON
{
"emailBlurb":"Please sign this proforma invoice.",
"emailSubject":"Proforma Invoice",
"documents":[
{
"documentId":"1",
"name":"proforma_invoice.pdf"
}
],
"recipients":{
"signers":[
{
"accessCode":"",
"addAccessCodeToEmail":false,
"customFields":null,
"idCheckConfigurationName":null,
"idCheckInformationInput":null,
"inheritEmailNotificationConfiguration":false,
"note":null,
"phoneAuthentication":null,
"recipientAttachment":null,
"requireIdLookup":null,
"roleName":"Customer",
"routingOrder":1,
"socialAuthentications":null,
"recipientId":1,
"email":"john@smith.com",
"name":"John Smith",
"autoNavigation":false,
"defaultRecipient":false,
"signatureInfo":null,
"tabs":{
"approveTabs":null,
"checkboxTabs":[
],
"companyTabs":null,
"dateSignedTabs":[
{
"anchorString":"Sign",
"anchorXOffset":"350",
"anchorYOffset":"-10",
"anchorIgnoreIfNotPresent":false,
"anchorUnits":"pixels",
"documentId":"1",
"pageNumber":"1",
"recipientId":1,
"required":false,
"xPosition":"0",
"yPosition":"0",
"optional":false,
"tabLabel":"Signature 1",
"locked":false
}
],
"dateTabs":null,
"declineTabs":null,
"emailTabs":[
],
"envelopeIdTabs":null,
"fullNameTabs":[
{
"anchorString":"Sign",
"anchorXOffset":"220",
"anchorYOffset":"8",
"anchorIgnoreIfNotPresent":false,
"anchorUnits":"pixels",
"documentId":"1",
"pageNumber":"1",
"recipientId":1,
"required":false,
"xPosition":"0",
"yPosition":"0",
"optional":false,
"tabLabel":"Signature 1",
"locked":false
}
],
"listTabs":[
],
"noteTabs":null,
"numberTabs":[
],
"radioGroupTabs":[
],
"initialHereTabs":[
],
"signHereTabs":[
{
"anchorString":"Sign",
"anchorXOffset":"80",
"anchorYOffset":"0",
"anchorIgnoreIfNotPresent":false,
"anchorUnits":"pixels",
"documentId":"1",
"pageNumber":"1",
"recipientId":1,
"required":false,
"scaleValue":1,
"xPosition":"0",
"yPosition":"0",
"optional":false,
"tabLabel":"Signature 1",
"locked":false
}
],
"signerAttachmentTabs":null,
"ssnTabs":null,
"textTabs":[
],
"titleTabs":[
],
"zipTabs":null
}
}
],
"carbonCopies":[
]
},
"eventNotification":{
"useSoapInterface":false,
"includeCertificateWithSoap":false,
"url":"valid_accessible_url_endpoint",
"loggingEnabled":true,
"envelopeEvents":[
{
"includeDocuments":false,
"envelopeEventStatusCode":"completed"
},
{
"includeDocuments":false,
"envelopeEventStatusCode":"sent"
},
{
"includeDocuments":false,
"envelopeEventStatusCode":"delivered"
}
],
"recipientEvents":[
]
},
"status":"sent",
"customFields":null
}
connectEvents api允許您查詢Connect日志和失敗。
您還可以使用DocuSign管理應用程序查看它們。 這里有管理員應用程序的文檔。
如果事件生成成功且無法傳遞到Webhook端點,則應在故障部分中列出這些事件。
請將您的請求包含在https監聽網址中。 DocuSign不支持http偵聽器URL。 文檔在這里
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.