Execute Documenso production deployment checklist and rollback procedures. Use when deploying Documenso integrations to production, preparing for launch, or implementing go-live procedures. Trigger...
Validate a new template in staging with synthetic signers, verify the production access roles and callback endpoint under review, then release to an approved canary. If authorization, state, or audit behavior differs, halt the release and restore the prior approved template.
Complete checklist for deploying Documenso integrations to production, covering security, reliability, monitoring, and compliance readiness.
documenso-ci-integration)documenso-observability).env)openssl rand -hex 32GET /health/documenso#!/bin/bash
set -euo pipefail
echo "=== Documenso Production Verification ==="
# Check API key
if [ -z "${DOCUMENSO_API_KEY:-}" ]; then
echo "FAIL: DOCUMENSO_API_KEY not set"; exit 1
fi
echo "OK: API key configured"
# Test connection
BASE="${DOCUMENSO_BASE_URL:-https://app.documenso.com/api/v1}"
STATUS=$(curl -s -o /dev/null -w "%{http_code}" \
-H "Authorization: Bearer $DOCUMENSO_API_KEY" \
"$BASE/documents?page=1&perPage=1")
[ "$STATUS" = "200" ] && echo "OK: API connection ($STATUS)" || echo "FAIL: API connection ($STATUS)"
# Test webhook endpoint
WEBHOOK_URL="${DOCUMENSO_WEBHOOK_URL:-}"
if [ -n "$WEBHOOK_URL" ]; then
WH_STATUS=$(curl -s -o /dev/null -w "%{http_code}" "$WEBHOOK_URL")
echo "Webhook endpoint: $WH_STATUS"
fi
# Check health endpoint
HEALTH_URL="${APP_URL:-http://localhost:3000}/health/documenso"
HEALTH=$(curl -s "$HEALTH_URL" 2>/dev/null | jq -r '.status' 2>/dev/null || echo "unreachable")
echo "Health check: $HEALTH"
echo "=== Verification Complete ==="
If issues occur after deployment:
1. Immediate: revert to previous container image / deployment
kubectl rollout undo deployment/signing-service
# or: vercel rollback
2. Verify rollback:
curl -s $APP_URL/health/documenso | jq '.status'
3. Investigate:
- Check deployment diff (what changed?)
- Review error logs for the deployment window
- Test the failed version in staging
4. Fix and re-deploy:
- Fix the root cause on a feature branch
- Test in staging
- Deploy with monitoring active
| Alert | Condition | Response |
|---|---|---|
| Deploy failed | CI/CD error | Check logs, fix, retry |
| Health check failed | Documenso unreachable | Verify API key, check status page |
| Error spike post-deploy | Breaking change | Execute rollback procedure |
| Webhook delivery stopped | Endpoint misconfigured | Check HTTPS URL, secret, event subscriptions |
For version upgrades, see documenso-upgrade-migration.