Learn how to process document approvals with electronic signatures, AI-powered routing, and real-time status tracking using the SignumFlow API.
SignumFlow provides multiple ways to process approvals:
Use the API to submit approval decisions programmatically. This is ideal for custom approval workflows and integrations.
# Submit approval decision
curl -X POST "https://api.signumflow.com/api/v1/approvals" \
-H "Authorization: sf_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"document_id": "doc_contract789xyz",
"workflow_step_id": "legal_review",
"approver_email": "[email protected]",
"status": "approved",
"comments": "Contract terms approved"
}'Use SignumFlow's pre-built approval page with signature capture. Perfect for email links and quick approvals.
# Hosted approval page (opens in browser) curl "https://api.signumflow.com/approve/doc_contract789xyz" # This returns an HTML page with signature capture
Retrieve all pending approvals for a specific approver with pagination support. Use this to build approval dashboards and notification systems.
# Get pending approvals for an approver curl -X GET "https://api.signumflow.com/api/v1/approvals/pending/[email protected]?page=1&limit=10" \ -H "Authorization: sf_test_YOUR_API_KEY"
Retrieve complete approval history for a document including all signatures, timestamps, and status changes.
# Get all approvals for a document curl -X GET "https://api.signumflow.com/api/v1/approvals/doc_contract789xyz" \ -H "Authorization: sf_test_YOUR_API_KEY"
When an approval is submitted, SignumFlow automatically: