Skip to main content

Signed document

Overview

You can get signed document by using this API, document will be in base64 string format.
You can see the validation file urls of signers, you should use this prefix url to get data.
https://api.legale.io/media

API detail

Request

  • URL: /sign/getSignedDocument/{{GUID}}
  • Method: GET

Response

Success

  • Status code: 200
  • Body:
{
"data" : {
"GUID": "39bc18da-2cd3-4f0d-9daa-734a3f13f15f",
"base64": "JVVeielWLEleng3023fGKWo3oei.....",
"sign_list": [
{
"tablet_info": {
"base64_fingerprint": "JVVeielWLEleng3023fGKWo3oei.....",
"biometric_fingerprint": "JVVeielWLEleng3023fGKWo3oei.....",
"base64_signature_image": "JVVeielWLEleng3023fGKWo3oei.....",
"base64_NID_f": "JVVeielWLEleng3023fGKWo3oei.....",
"base64_NID_b": "JVVeielWLEleng3023fGKWo3oei.....",
},
"video": "/video/39bc18da-2cd3-4f0d-9daa-734a3f13f15f.mp4",
"selfie_image": "/video/39bc18da-2cd3-4f0d-9daa-734a3f13f15f.png",
"id_image": "/video/39bc18da-2cd3-4f0d-9daa-734a3f13f15f.png",
},
],
},
"code": null,
"message": ""
}

Error

  • Status code: 400
  • Body:
{
"code": "NOT_SIGNED",
"message": "Document is not signed yet",
}
Error codeTypeDescription
NOT_SIGNEDstrDocument is not signed yet, so that you can't receive the signed document.