Yousign webhooks

Yousign webhooks are signed HTTP POST requests that Yousign, now branded Youtrust, sends to your HTTPS endpoint when a subscribed e-signature, seal, verification or workflow event happens.

58 events covered

How Yousign webhooks work

Webhooks push signing progress to your server, so you don't have to poll Yousign's API. A subscription names the events you want, one environment (sandbox or production) and an endpoint. Yousign's developer docs now live at developers.youtrust.com and say Youtrust throughout, but deliveries still use x-yousign- headers and the user agent Yousign Webhook Bot.

Each delivery is a JSON POST with event_id, event_name, event_time, subscription_id, subscription_description, sandbox and data. event_name says what happened, such as signature_request.done, and data varies by event. Neither the body nor a header carries a payload version.

Key facts

Signature header
X-Yousign-Signature-256

Format: sha256=<hex>

Scheme
HMAC-SHA256
Signed material
{raw body}

The request body exactly as sent, with no timestamp. x-yousign-issued-at is outside the signature, and the body's event_time stays the same through retries.

How events are identified
event_name field in the body
Body format
JSON

Content type: application/json.

Send timestamp
x-yousign-issued-at
Other headers
x-yousign-retry, x-yousign-issued-at, user-agent
Envelope
event_id, event_name, event_time, subscription_id, subscription_description, sandbox, data
Agent skill
npx skills add hookdeck/webhook-skills --skill yousign-webhooks

Verify Yousign webhooks →

Setting up Yousign webhooks

  • In the app, go to API > Webhooks and click Create a webhook, then enter the endpoint, environment and events. You can also create subscriptions through the API, where auto_retry is a required field.
  • Trial API accounts can only create sandbox subscriptions, and only in the app.
  • Test in sandbox by triggering a test Signature Request. To reach a local server, run npx hookdeck-cli listen 3000 yousign --path /webhooks/yousign and use its URL as the endpoint.
  • Yousign's webhook docs describe no way to resend a delivery by hand. Delete temporary subscriptions when you finish, because expired test URLs cause failed calls.

Delivery behaviour

  1. Slow responses count as failures

    A first attempt that takes longer than 1 second fails even if it ends in a 2xx. Acknowledge straight away and process the event in the background.

    Handle the 1-second limit →
  2. Duplicate deliveries

    Yousign can send the same webhook more than once, through retries or network issues. Store event_id, which is globally unique, and skip any you've already handled.

    Handle duplicates →
  3. Failed deliveries with no retries

    Yousign only runs its 8 retries when the subscription's auto_retry is true. With it off, one retry follows a first-attempt timeout, so set it on every subscription.

    Retries and suspended endpoints →
  4. A replay can't be rejected by age

    Yousign signs only the body, so X-Yousign-Issued-At can be altered, and event_time stays the same through retries. Neither can bound a replay, so deduplicate on event_id.

    Other Yousign limits →

Yousign webhook best practices

Common Yousign webhook events

Signature requests

signature_request.activated Signature request is activated and leaves draft
signature_request.done All required signers finish and the request completes
signature_request.declined A signer refuses, which declines the whole request
signature_request.expired Expiration date passes before the request is completed

Signers and approvers

signer.notified Signer is ready to sign, with a link sent or retrievable
signer.done Signer finishes signing
signer.declined Signer refuses to sign, with their reason in the payload
approver.approved Approver accepts the signature request
approver.rejected Approver turns down the signature request

Seals and verification

electronic_seal.done Seal finishes processing successfully
electronic_seal.error Seal processing fails
verification.identity_document.done Identity document check is processed

Events by resource

Resource Events Payloads
signature_request

signature_request.activated · .approved · .canceled · .declined +10

14 1
signer

signer.declined · .done · .error · .identification_blocked +8

12 0
verification

verification.bank_account.done · .bank_account_lookup.done · .company.done · .identity_document.done +6

10 0
approver

approver.approved · .notified · .rejected · .notification_delivery_failed

4 0
monitoring

monitoring.natural_person.activated · .natural_person.inconclusive · .natural_person.canceled · .natural_person.updated

4 0
applicant

applicant.notified · .processed · .session_blocked

3 0
workflow_action_group

workflow_action_group.started · .blocked · .done

3 1
workflow_session

workflow_session.started · .blocked · .done

3 1

1 more resource, including Other Yousign events. All 58 events →

In this hub

Webhook events → Every covered Yousign event, with payloads where the registry has them.
MCP events → How an agent subscribes to Yousign events as MCP events.
Verify signatures → Signature facts, verification code and common failures.
Production guide → Production problems, such as timeouts and retries, and how to handle them.
Agent skill → Install the webhook skill in your coding agent. npx skills add hookdeck/webhook-skills --skill yousign-webhooks

Stop missing Yousign's 1-second window.

A slow Yousign handler counts as a failed delivery even when it succeeds. Hookdeck Event Gateway answers Yousign as soon as a delivery arrives, verifies its signature, queues it and delivers to your service with its own timeouts and retries.

Not affiliated with Yousign. Facts are compiled from public sources and linked inline.