Skip to main content

Sign Callback

Overview

Legale provides the callback function after completing sign process.
Our service sends an API request after completing sign process to your callback url if you set it.

API detail

Request

  • URL: your_callback_url
  • Method: POST
  • Content-Type: application/json
  • Body:
{
"GUID": "2l4k2ngl4-234kr-234fakwe-awef",
"base64": "...",
"sign_status": 1,
"comment": "",
"file_name": "Document file name",
"description": "Document description",
"folder": "root/folder name1/folder name2/folder name3",
"meta_data": {
"date": "2023-10-10",
"document_type": "Contract",
"note": null
},
"attached_files": [
{
"file_name": "Contract.png",
"base64": "..."
}
]
}
ValueTypeDescription
GUIDstrGUID of the document
base64strbase64 string of signed document
sign_statusint1 if document signed, 2 if document rejected
commentstrReject comment
file_namestrDocument file name
descriptionstrDocument description
folderstrAbsolute folder path of document
meta_data.datestrMeta data string that you set when you upload a document
meta_data.document_typestrMeta data string that you set when you upload a document
meta_data.notestrMeta data string that you set when you upload a document
  • attached_file
ValueTypeDescription
file_namestrFile name of attached file
base64strBase64 string of attached file