Skip to main content

Bulk FEA

Overview

Legale provides a specific function to sign document using FEA massively.
This sign method adds digital certificate using FEA sign as well as the verification QR code to top right corner of the file.
This sign method uses FEA sign, so that the account owner should be enrolled to FEA in his account.
This can be done in here.

API detail

Request

  • URL: /bulk
  • Method: POST
  • Content-Type: application/json
  • Body
{
"file_name": "Your pdf file name.pdf",
"description": "Description of your pdf file to sign",
"folder": "FEA Bulk",
"pin": "1234",
"file": "JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGV..."
}
ValueTypeIs requiredDescription
file_namestrYesFile name of document
descriptionstrNoDescription of document, maximum 1023 characters
folderstrNoFolder path that you wanna to save document in. If folder structure is not matched to current existing structure, system will create it.
pinstrYes4 digits of your FEA enrollment verification
filestrYesBase64 string of document you wanna sign

Response

Success

  • Status code: 200
  • Body:
{
"GUID": "0fe75c65-70cc-4517-ac7f-ebba85bfa63e",
"file": "JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGV..."
}
ValueTypeDescription
GUIDstrGUID of the document in Legale
filestrBase64 string of signed document

Error

  • Status code: 400
  • Body:
{
"code": "ERROR_ENROLLMENT_REQUIRED",
"message": "You must complete the enrollment process before continuing.",
}