Code Examples
API Code Examples
Copy-paste code examples to integrate SignQuick into your application in minutes.
Common Examples
Upload & Sign a PDF
Upload a PDF and add a signature field programmatically.
const doc = await signquick.documents.create({
file: fs.readFileSync('contract.pdf'),
name: 'Service Contract'
});Send for Signature
Send a document to one or more signers via email.
await signquick.signingRequests.create({
documentId: doc.id,
signers: [{ email: 'client@example.com' }]
});Download Signed PDF
Download the completed, signed document.
const pdf = await signquick.documents.download(doc.id);
fs.writeFileSync('signed.pdf', pdf);Webhook Handler
Listen for signature completion events.
app.post('/webhook', (req, res) => {
if (req.body.event === 'signing.completed') {
console.log('Document signed!');
}
res.sendStatus(200);
});Supported Languages
JavaScript / Node.js
Python
cURL
PHP