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": "..."
}
]
}
Value | Type | Description |
---|---|---|
GUID | str | GUID of the document |
base64 | str | base64 string of signed document |
sign_status | int | 1 if document signed, 2 if document rejected |
comment | str | Reject comment |
file_name | str | Document file name |
description | str | Document description |
folder | str | Absolute folder path of document |
meta_data.date | str | Meta data string that you set when you upload a document |
meta_data.document_type | str | Meta data string that you set when you upload a document |
meta_data.note | str | Meta data string that you set when you upload a document |
attached_file
Value | Type | Description |
---|---|---|
file_name | str | File name of attached file |
base64 | str | Base64 string of attached file |