Integrate e-signatures into your application with our powerful REST API. Get started in minutes with comprehensive documentation and SDKs.
Our SDK makes it easy to integrate e-signatures into your application. Install the package, add your API key, and start sending documents for signature.
const MamaSign = require('@mamasign/sdk');
const client = new MamaSign({
apiKey: 'your-api-key'
});
// Upload and send a document for signature
async function sendForSignature() {
const document = await client.documents.create({
file: './contract.pdf',
name: 'Service Agreement'
});
await client.documents.send(document.id, {
signers: [
{
email: 'john@example.com',
name: 'John Doe',
order: 1
}
],
message: 'Please sign this agreement'
});
console.log('Document sent:', document.id);
}Everything you need to build a great integration
Clean, intuitive REST API design with predictable resource-oriented URLs.
OAuth 2.0 authentication and 256-bit encryption for all API calls.
Real-time event notifications for document status changes.
All responses in JSON format with comprehensive error messages.
Generous rate limits with clear headers and upgrade options.
Comprehensive docs with examples in multiple programming languages.
Core endpoints to manage documents and signatures
/api/v1/documents/api/v1/documents/{id}/api/v1/documents/{id}/sign/api/v1/documents/{id}/send/api/v1/documents/{id}/audit/api/v1/documents/{id}Get instant notifications when documents are viewed, signed, or completed. No polling required - we'll push events to your endpoint as they happen.
document.viewed - When a signer opens a documentdocument.signed - When a signature is addeddocument.completed - When all parties have signeddocument.declined - When a signer declinesdocument.expired - When a document expires{
"event": "document.signed",
"timestamp": "2024-01-15T10:30:00Z",
"data": {
"document_id": "doc_abc123",
"signer": {
"email": "john@example.com",
"name": "John Doe",
"signed_at": "2024-01-15T10:30:00Z"
},
"status": "completed",
"download_url": "https://api.mamasign.com/v1/documents/doc_abc123/download"
}
}Get up and running quickly with our official libraries
npm install @mamasign/sdkpip install mamasigngem install mamasigncomposer require mamasign/sdkimplementation "com.mamasign:sdk:1.0.0"go get github.com/mamasign/mamasign-goGet your free API key and start integrating e-signatures into your application today.