The results of the signature extraction are returned in JSON format. The response contains a list of signatures found in the document, along with their details.
An example result can look like this:
{
"signatures": [
{
"page": 1,
"boundingBox": [85, 432, 305, 492],
"image": "data:image/png;base64,iVBORw0KGgo...",
"binary": "data:image/png;base64,dfdwererere...",
},
{
"page": 2,
"boundingBox": [350, 520, 540, 565],
"image": "data:image/png;base64,bWFueSBtb3J...",
"binary": "data:image/png;base64,dfadfererww...",
}
],
"fileHash": "7052a47550c1ada4c9d999ebe6c27b61",
"version": "2.06.29",
"numberOfPages": 2,
}
Examples
Example Curl Request
curl --location 'https://de.eagle-doc.com/api/signature/v1/extract' \
--header 'api-key: ••••••' \
--form 'file=@"/path/to/contract_with_signatures.pdf"'
Example Signature Images
Original image
Extracted signature