Free plan
Digital Signature
Sign a PDF with a certificate so anyone can verify it
About this tool
This tool adds a true digital signature to a PDF. It uses a certificate (a digital ID file) and its private key that you supply. Anyone can then check who signed the file and that it was not changed after signing. This is different from a picture of a handwritten signature. You can add a reason, your name, contact details and a place.
For example, you sign a contract with your company certificate so the other side can prove it is genuine.
How to use it
- Choose this tool.
- Add your PDF.
- Choose a saved certificate, or paste your certificate and private key.
- Fill in the optional details: reason, your name, contact and location.
- Press Generate, then download the signed PDF.
What you get back
You get a new PDF carrying your digital signature, ready to download and send. Do not edit it afterwards, or the signature will no longer match.
TEST IT LIVE
Try Digital Signature in the Studio
One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Family
PDFs
Plan
Free
Method
POST
Endpoint
/v1/pdfs/sign
Tool ID
pdfs.sign
Authentication
API key
Accepts
PDF
Background jobs
Yes
Usage group
Pdf
For developers
Use it from your code
cURL
curl -X POST "https://app.h2i.davixlabs.io/v1/pdfs/sign" \
-H "X-Api-Key: $DAVIX_H2I_API_KEY" \
-F 'file=@document.pdf' \
-F 'certificateId=1' \
-F 'output_bundle=zip' \
-F 'response=url'Node.js
const { DavixH2I } = require('@davixlabs/h2i-sdk');
const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.pdfs.sign({
"file": 'document.pdf',
"certificateId": 1,
"output_bundle": "zip",
"response": "url"
});
console.log(result.data, result.requestId);PHP
<?php
require 'vendor/autoload.php';
$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->pdfs()->sign([
'file' => 'document.pdf',
'certificateId' => 1,
'output_bundle' => 'zip',
'response' => 'url',
]);
echo $result->requestId;More in PDFs
