【问题标题】:Edit the webhook URL after envelope creation创建信封后编辑 webhook URL
【发布时间】:2019-12-18 10:29:12
【问题描述】:

是否可以在创建信封后编辑 webhook url? 在信封创建期间,我使用以下方法创建 webhook url:

$event_notification = new \DocuSign\eSign\Model\EventNotification();
$event_notification->setUrl("https://mywebhooks.com/docusign/index.php");

$envelope_definition = new DocuSign\eSign\Model\EnvelopeDefinition();
$envelope_definition->setEventNotification($event_notification);

一切正常,并按预期访问网址。

然而,最近我们在 webhook url 中添加了身份验证,并希望在 url 中添加一个 GET 参数,以便在我们被此调用命中时验证它。

因此更新后的 URL 设置为 $event_notification->setUrl("https://mywebhooks.com/docusign/index.php?api_key=docusign_webhook_key");,但现在已经创建的旧信封没有此参数将访问我们的系统,并且由于缺少参数而无法通过身份验证。

有没有办法更新已经创建的信封的 URL?

(有一种方法可以在控制台中对 webhook url 进行硬编码 - https://support.docusign.com/en/guides/ndse-admin-guide-custom-connect-configuration-htm。当我在那里添加它时效果很好。但是它会被命中两次,最终会导致失败。)

【问题讨论】:

    标签: docusignapi


    【解决方案1】:

    不,飞行中的信封似乎无法更改其 EventNotifications。

    【讨论】:

      猜你喜欢
      • 2017-06-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多