Webhooks for Partner Integrations

Last update: Apr 06, 2023.

While customers can create webhooks in the web UI, partners should set up webhooks via API as resource-level (per-agreement) webhooks. There are a few reasons for this.

Polling as a "backup" update method

It is also recommended to set up a polling mechanism and some way to re-create these per-agreement webhooks if the creation step has failed and the agreements are still in some non-terminal state. It's also recommended to configure monitoring and alerting on the integrated platform side to let you know if the webhook process is failing. If you're using the per-agreement process, it would also be a good idea to automatically start the "polling" process for those agreements when the webhook creation failure is detected.

Resource (per-agreement) webhook cleanup

The webhooks created by API will be visible in the UI if folks are logging into the website, but they can't be deleted from there. If you are using resource-level webhooks, there will be a post-terminal cleanup that you should perform to remove API-initiated webhooks for agreements that have completed workflows. If you do not, the UI will have hundreds or thousands of useless webhooks piling up for old agreements. Once the agreements are in a terminal state, they can be cleaned up using the DELETE /webhooks/{webhookID} API call.

Update Agreement Status "manual" option

An additional best practice is to add an "update agreement status" button or trigger in your interface that polls Adobe Sign for a single agreement so that if there is an issue happening, the user can manually update a particularly critical agreement to get their status and/or a copy of the completed file/s immediately. Adobe does this in all integrations that it builds.

© Copyright 2023, Adobe Inc.. Last update: Apr 06, 2023.