虽然我们可以接收电子邮件签名的 webhook 消息,但似乎 DocuSign 不会为嵌入式会话签名发送 webhook 事件。这行得通吗?
Docusign 通过两种方式支持 webhook 事件 -
帐户级别 - 连接配置:为此,您需要配置 webhook URL。转到 Docusign 管理页面 -> 在集成下,选择“连接” -> 添加配置 -> 自定义 -> 指定 webhook URL 和触发事件。这将适用于该帐户的所有信封。
信封级别:将以下内容添加到 createEnvelope 请求中:
"eventNotification" : {
"URL": "<webhookurl>",
"loggingEnabled": "true",
"requireAcknowledgment": "true",
"useSoapInterface": "false",
"includeCertificateWithSoap": "false",
"signMessageWithX509Cert": "false",
"includeDocuments": "true",
"includeEnvelopeVoidReason": "true",
"includeTimeZone": "true",
"includeSenderAccountAsCustomField": "true",
"includeDocumentFields": "true",
"includeCertificateOfCompletion": "true",
"envelopeEvents": [
{"envelopeEventStatusCode": "sent"},
{"envelopeEventStatusCode": "delivered"},
{"envelopeEventStatusCode": "completed"},
{"envelopeEventStatusCode": "declined"},
{"envelopeEventStatusCode": "voided"}
],
"recipientEvents": [
{"recipientEventStatusCode": "Sent"},
{"recipientEventStatusCode": "Delivered"},
{"recipientEventStatusCode": "Completed"},
{"recipientEventStatusCode": "Declined"},
{"recipientEventStatusCode": "AuthenticationFailed"},
{"recipientEventStatusCode": "AutoResponded"}
]
}
这仅适用于该信封。
您可以配置要触发 Webhook URL 的事件。
DocuSign 使用包含有关信封和收件人事件的所有信息的 XML 命中相应事件的 webhook。您还可以配置是否不想接收 XML 格式的签名文档。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句