Set Webhook URL for a Document
Register Webhook on a document
ImportantDon’t forget to include both
tokenAPI
andcryptKey
in the request.Example:
https://secure.d4sign.com.br/api/v1/documents/{UUID-DOCUMENT}/webhooks?tokenAPI={YOUR-TOKEN}&cryptKey={YOUR-CRYPT-KEY}
POST
/documents/{UUID-DOCUMENT}/webhooks
POST
/documents/{UUID-DOCUMENT}/webhooksThis endpoint registers a webhook URL for the specified document.
{
"Content-Type": "application/json"
}
{
"url": "http://www.yourdomain.com/"
}
{
"message": "Webhook successfully registered"
}
Parameter | Description |
---|---|
url (required) | URL that will receive the POSTBack from D4Sign after the document reaches the FINISHED stage. |
Updated about 2 months ago