Skip to main content

Signature Request related webhooks

This webhook is received when an event related to a signature request is triggered.

warning

If you create a signature request with a signature profile that is in EMBEDDED integration mode,
you MUST register a callback for the LAUNCHED action.
This is the way you will receive the token that will allow you to initialize the Signature Session in your application.

info

The actions CANCELLED and EXPIRED actions are only used for cases where no one has signed.
If at least one person has signed and the signature request expires or is canceled, the COMPLETED state is sent.

The Global object received

[type : IgnisignWebhook_ActionDto]

This is the global object that is POST to your application when a webhook event is triggered.

fieldtyperequireddescription
topicStringYesFixed value : "SIGNATURE_REQUEST"
actionIGNISIGN_WEBHOOK_ACTION_SIGNATURE_REQUESTYesThe action that is associated to the webhook event
msgNatureIGNISIGN_WEBHOOK_MESSAGE_NATUREYesThe type of message
contentIgnisignWebhookDto_SignatureRequestNoThe content of the webhook
errorIgnisignErrorNoRhe eventual error
appIdstringYesThe appId associated to the event
appEnvIGNISIGN_APPLICATION_ENVYesThe appEnv associated to the event
verificationTokenstringYesA token that can be used to verify that the webhook comes from ignisign

SDKs treat automatically these calls and provide to you a callback registration mecanism of typed events.

When you use the SDks:

  • The verificationToken is automatically verified.
  • The appId and appEnv are automatically checked.
  • Only topic, action, msgNature, content and error are available in the callbacks.

The Content object

[type: IgnisignWebhookDto_SignatureRequest]

fieldtyperequireddescription
signatureRequestIdstringYesThe id of the signature request associated to the signature
signatureRequestExternalIdstringNoAn external reference (your reference) if you had provided it when you have created the signature request
statusIGNISIGN_SIGNATURE_REQUEST_STATUSNoThe status of the signature request
signersList of IgnisignWebhookDto_SignatureRequestSignerNoA List of the signers linked to the signature request.
Only provided if the signature profile associated to the signature request is configurated in an embedded mode

IgnisignWebhookDto_SignatureRequestSigner

fieldtyperequireddescription
signerIdstringYesThe id of the signer associated to the signature
signerExternalIdstringYesAn external reference (your reference) if you had provided it when you have created the signer
tokenstringYesThe token that can be used to initialize the signature session in your application

The Error object

[type: IgnisignError]

fieldtyperequireddescription
errorCodeIGNISIGN_ERROR_CODESyesThe Error code
messagestringnoA human readable message describing the error
contextobject (any)noA map of key value pairs that provide additional context to the error
  • IGNISIGN_WEBHOOK_ACTION_SIGNATURE_REQUEST :

    • INITIALIZED : Triggered when a signature request is created
    • UPDATED : Triggered when a signature request is updated
    • READY : Triggered when a signature request is ready to be signed
    • WAITING_DOCUMENTS : Triggered when a signature request is waiting for documents (document request)
    • LAUNCHED : Triggered when a signature request is launched
    • CANCELLED : Triggered when a signature request is cancelled
    • EXPIRED : Triggered when a signature request is expired
    • COMPLETED : Triggered when a signature request is completed (finalized)
  • IGNISIGN_WEBHOOK_MESSAGE_NATURE: Represents the nature or type of a message associated with a webhook event in the Ignisign application.

    • INFO : The message is related provided to provide information (per example a status update)
    • SUCCESS : The message is related to a success (per example a signature session is completed)
    • WARNING : The message is related to a warning (an action is completed but with some warnings)
    • ERROR : The message is related to an error (an action has failed)