Integration guide 
Download the latest Certifaction Client
Run the Certifaction Client - Options:
Start server-mode via command line:
./certifaction serverStart server-mode via docker container:
docker run -p 8082:8082 certifaction/server:v.X.Y.Z
Prepare documents:
Endpoint:
POST/prepareExample request:
bashcurl --location 'http://localhost:8082/prepare?scope=sign&upload=true&digital-twin=true' \ --header 'Accept-Language: de' \ --header 'Content-Type: application/pdf' \ --header 'Authorization: API_KEY' \ --data-binary '@/INPUT_FILE.pdf'ℹ️ The response will contain a
FILE_URLin thelocationheader, which needs to be used to create a signature request.
Create a signature request:
Endpoint:
POST/request/createExample request (for the signature type
SESwithout selective signing):bashcurl --location 'http://localhost:8082/request/create?send-email=false&email=EMAIL&webhook-url=WEBHOOK_URL' \ --header 'Accept-Language: de' \ --header 'Content-Type: application/json' \ --header 'Authorization: API_KEY' \ --data '{ "files": [ { "url": "FILE_URL_1", "name": "FILE_NAME_1.pdf" }, { "url": "FILE_URL_2", "name": "FILE_NAME_2.pdf" } ] }'ℹ️ The response will be a
request_url, which needs to be sent to the signer.
Wait for the webhook to be called (gets triggered when documents are signed or declined)
(Check the status of the signature request:)
Endpoint:
GET/request/statusExample request:
bashcurl --location 'http://localhost:8082/request/status?request_url=REQUEST_URL' \ --header 'Authorization: API_KEY'ℹ️ The
statusof theenvelope_itemsneed to be checked.
Download the signed document:
Endpoint:
GET/downloadExample request:
bashcurl --location 'http://localhost:8082/download?file=REQUEST_URL' \ --header 'Authorization: API_KEY'ℹ️ The
request_urlmust be URL encoded.