Explore practical code examples to integrate Popularis into your application. Copy, paste, and customize to fit your needs.
import Popularis from '@popularis/sdk';
const client = new Popularis({
apiKey: process.env.POPULARIS_API_KEY
});
const document = await client.documents.create({
title: "Service Agreement",
file: "./contract.pdf",
signers: [
{
email: "client@example.com",
name: "John Doe"
}
]
});
const status = await client.documents.get(
documentId
);
console.log(status.signed); // true/false
Comprehensive examples covering common use cases and advanced integrations
Get up and running with Popularis in under 5 minutes
Create and send a document for signature with custom fields
Listen to signature events in real-time
Send multiple documents to different recipients
Create and manage reusable document templates
Apply your brand colors and logo to signature requests
Our developer support team is here to help you integrate Popularis into your application