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": [
{
"image": "iVBO...",
"binary": "iVBORw...",
"boundingBox": [
0.5438988095238095,
0.7347883597883598,
0.6438492063492064,
0.8167989417989417
],
"page": 1,
"confidence": 0.95,
"signatureColor": [
23,
13,
8
],
"numberOfSignaturesExpected": 2,
"hasVisibleBoxSurrounding": false,
"hasSignatureLabelsNearby": false
}
],
"fileHash": "4a2cc869047bbda0ec8b7e0579a5ef79",
"version": "2.08.29",
"numberOfPages": 1
}
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"'