April 13, 2026 · HR Guide
E-Signature API for HR: Automate Offer Letters, NDAs, and Employee Onboarding
The average new hire signs 5-8 documents before their first day. Most HR teams still email PDFs and wait for scanned signatures. Here's how to replace that with a single API call — no DocuSign contract, no SDK, no template builder.
Founder, Signbee
TL;DR
An e-signature API for HR automates the signing of offer letters, NDAs, employment contracts, and onboarding forms through a single REST endpoint. Instead of emailing PDFs and chasing scanned signatures, HR systems generate documents programmatically and send them for legally binding electronic signature via API. The result: onboarding time drops from 3-5 days to under 8 hours, with a complete SHA-256 audit trail for compliance.
An e-signature API for HR is a REST endpoint that programmatically sends employment documents — offer letters, non-disclosure agreements, I-9 forms, and benefits enrollment paperwork — for legally binding electronic signature. Unlike consumer e-signature tools that require manual uploads and template builders, an API integration connects directly to your HRIS (Human Resource Information System), ATS (Applicant Tracking System), or custom onboarding platform.
According to the Society for Human Resource Management (SHRM), the average cost-per-hire in 2025 was $4,700, with administrative paperwork accounting for 20-30% of that cost. Automating document signing eliminates the largest single bottleneck in the onboarding process.
The HR Onboarding Document Stack
A typical new hire signs between 5 and 8 documents before their first day. Here's what the document stack looks like for most companies:
| Document | Purpose |
|---|---|
| Offer letter | Employment terms, salary, start date |
| NDA | Confidentiality and IP protection |
| Non-compete | Post-employment restrictions |
| I-9 (US) | Employment eligibility verification |
| W-4 / P45 (UK) | Tax withholding |
| Benefits enrollment | Health, dental, 401(k) elections |
| Handbook acknowledgment | Company policy acceptance |
| Equipment agreement | Laptop, phone, access card |
Every one of these documents can be generated as markdown and sent for electronic signature via API. See our document templates for ready-to-use NDA and offer letter formats.
Manual vs API-Based Onboarding
| Step | Manual process | API-automated |
|---|---|---|
| Document creation | Fill template in Word/PDF | Generated from HRIS data |
| Sending | Email PDF attachment | POST /api/v1/send |
| Signing | Print, sign, scan, email back | Click link, sign in browser |
| Filing | Save to shared drive manually | Auto-stored, SHA-256 certified |
| Time to complete | 3-5 business days | 4-8 hours average |
| Audit trail | None (or manual log) | SHA-256 hash, timestamps, IPs |
How It Works: Sending an Offer Letter via API
When your ATS marks a candidate as "offer approved," your backend generates the offer letter from the candidate's data and sends it for signature with a single API call:
// When ATS triggers "offer_approved"
const res = await fetch("https://signb.ee/api/v1/send", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_KEY",
},
body: JSON.stringify({
markdown: `# Offer of Employment
**Company:** Acme Corp
**Position:** Senior Engineer
**Start date:** May 1, 2026
**Salary:** $145,000/year
This offer expires in 5 business days.
By signing, you accept the terms above.`,
recipient_name: candidate.name,
recipient_email: candidate.email,
expires_in_days: 5,
}),
});
const { document_id, status } = await res.json();
// status: "pending_recipient" — candidate gets emailThe candidate receives an email with a signing link. Both parties get a SHA-256 certified PDF when signing is complete. No SDK, no client library — just fetch. See the full API documentation for all endpoints.
Tracking Document Status
After sending, poll the document status to update your HRIS:
const doc = await fetch(
`https://signb.ee/api/v1/documents/${document_id}`,
{ headers: { "Authorization": "Bearer YOUR_API_KEY" } }
).then(r => r.json());
// doc.status: "pending_recipient" | "signed" | "expired"
if (doc.status === "signed") {
// Update HRIS: mark onboarding step complete
// doc.signed_pdf_url → store in employee file
}The Business Case: HR Signing by the Numbers
According to Aberdeen Group research, companies with automated onboarding see a 17% higher offer acceptance rate and 54% greater new-hire productivity compared to those with manual processes. The speed of signing directly impacts whether a candidate accepts or takes a competing offer.
Legal Validity of Electronic Signatures in HR
Electronic signatures on employment documents are legally binding under three major frameworks:
- ESIGN Act (United States) — Covers all employment contracts, offer letters, and NDAs. I-9 forms have specific DHS requirements for electronic signatures but are permitted.
- eIDAS Regulation (European Union) — Simple electronic signatures are sufficient for standard employment contracts. Some member states require Qualified Electronic Signatures (QES) for specific labor law documents.
- Electronic Communications Act 2000 (United Kingdom) — Employment documents are fully valid with electronic signatures, with the exception of certain deeds requiring wet signatures.
For a deeper dive, see our guide: E-Signatures and the Law: eIDAS, ESIGN, and the ECA.
Integration Patterns for HRIS and ATS Platforms
The most common integration pattern is an event-driven webhook from your ATS or HRIS:
- ATS triggers "offer approved" — your webhook handler receives the candidate data
- Generate document — your backend creates the offer letter/NDA from a template with candidate-specific variables
- Call Signbee API —
POST /api/v1/sendwith the markdown and recipient details - Candidate signs — they click the link in their email, sign in-browser
- Status callback — poll
GET /api/v1/documents/{id}to detect completion - Update HRIS — mark onboarding step complete, store the signed PDF URL
Automating Form I-9 & Tax Withholding Under Federal Regulations
While standard offer letters and NDAs fall under general contract law (ESIGN and UETA), onboarding US employees involves federal statutory forms—specifically Form I-9 (Employment Eligibility Verification) and Form W-4 (Employee's Withholding Certificate).
Under Department of Homeland Security regulations (8 CFR § 274a.2(e)), electronic systems used for Form I-9 execution must satisfy strict compliance parameters:
Federal Electronic I-9 Mandates:
- Integrity Controls: The system must employ reasonable controls to ensure the integrity, accuracy, and reliability of the electronic generation and storage system.
- Tamper Detection: Any alteration to the electronic form must be immediately detectable. Signbee's SHA-256 cryptographic seal verifies that not a single character has been modified post-execution.
- Audit Trail Inspection: The system must produce an immutable audit log detailing every action (creation, completion, viewing, signing) with exact timestamps and authorized identity markers for ICE/DHS inspection within 3 business days of a Notice of Inspection (NOI).
ATS Webhook Integration: Greenhouse & Lever Workflow
Here is a complete Express / Next.js route handler demonstrating how an enterprise ATS (such as Greenhouse or Lever) triggers automated contract compilation and signing dispatch when an applicant moves to the "Hired" stage:
import { NextRequest, NextResponse } from "next/server";
export async function POST(req: NextRequest) {
const payload = await req.json();
const { event, candidate, job } = payload;
if (event !== "candidate.stage_changed" || candidate.stage !== "Hired") {
return NextResponse.json({ ignored: true });
}
// 1. Build standardized Markdown onboarding packet
const markdown = `# Employment Agreement & Position Acceptance
**Company:** Global Innovations Inc.
**Employee:** ${candidate.first_name} ${candidate.last_name}
**Position Title:** ${job.title}
**Base Compensation:** $${candidate.offered_salary.toLocaleString()} USD per annum
**Start Date:** ${candidate.start_date}
### Terms of Employment
1. **At-Will Employment:** Employment with the Company is for an indefinite duration and is terminable at-will.
2. **Confidentiality:** Employee agrees to safeguard all trade secrets and proprietary intellectual property.
3. **Benefits Eligibility:** Health, dental, and retirement plan participation commences on the first of the month following the Start Date.
*Please execute below to confirm acceptance.*`;
// 2. Dispatch atomic signing request via Signbee API
const response = await fetch("https://signb.ee/api/v1/send", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.SIGNBEE_API_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
markdown,
recipient_name: `${candidate.first_name} ${candidate.last_name}`,
recipient_email: candidate.email,
subject: `Official Employment Offer: ${job.title}`,
webhook_url: "https://hr.globalinnovations.com/api/webhooks/signbee",
metadata: {
candidate_id: candidate.id,
requisition_id: job.id,
department: job.department
}
})
});
const data = await response.json();
return NextResponse.json({ success: true, document_id: data.document_id });
}AI Agents in HR: Autonomous Document Signing
HR is one of the first departments where AI agents are handling document workflows autonomously. An AI recruiting agent can screen candidates, extend offers, and trigger the signing flow — all without human intervention for routine hires.
Signbee supports this through the Model Context Protocol (MCP), which lets AI agents like Claude, Cursor, and Windsurf call the send_document tool directly. See how to set up MCP signing in 2 minutes.
Frequently Asked Questions
Can offer letters be signed electronically?
Yes. Offer letters are legally binding when signed electronically under the ESIGN Act (US), eIDAS (EU), and Electronic Communications Act 2000 (UK). The digital audit trail — including timestamps, IP addresses, and SHA-256 hashes — provides stronger legal evidence than a wet signature on paper.
What HR documents can be signed via API?
Common HR documents signed via e-signature API include offer letters, NDAs, non-compete agreements, employment contracts, I-9 verification forms, benefits enrollment forms, employee handbook acknowledgments, and equipment loan agreements.
How long does API-based onboarding take?
With an e-signature API integration, document generation and sending takes under 2 seconds. Total onboarding time depends on how quickly the new hire signs — typically 4-8 hours with email notification, compared to 3-5 days for paper-based processes.
Is an e-signature API GDPR compliant for employee data?
An e-signature API can be GDPR compliant when it processes only the minimum necessary personal data (name, email), provides clear consent mechanisms, and stores data in compliance with Article 5 principles.
Start automating HR document signing today — 5 documents/month free, no credit card required.
Last updated: April 13, 2026 · Michael Beckett is the founder of Signbee and B2bee Ltd.