Skip to main content

Application Webhooks

This webhook is received when an event related to your application is triggered.

warning

Only endpoint configurated with the PRODUCTION appEnv will receive this kind of events.

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 : "APPLICATION"
actionIGNISIGN_WEBHOOK_ACTION_APPLICATIONYesThe action that is associated to the webhook event
msgNatureIGNISIGN_WEBHOOK_MESSAGE_NATUREYesThe type of message
contentIgnisignWebhookDto_ApplicationNoThe 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_Application ]

fieldtyperequireddescription
userIdstringNoOnly provided when the action is MEMBERSHIP_UPDATED.

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_APPLICATION :

    • SETTINGS_UPDATED : A change has been made to the application settings
    • MEMBERSHIP_UPDATED : A change has been made to the application membership
    • ARCHIVED : The application has been archived
  • 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)