Docs & quickstart

Quickstart

pip install flask cryptography
export CAREFORM_ENCRYPTION_KEY=$(python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())")
export CAREFORM_ADMIN_TOKEN=$(python3 -c "import secrets; print(secrets.token_hex(32))")
python app.py   # http://127.0.0.1:5001
# Create a form (admin):  POST /api/forms  (X-Admin-Token)
# Submit (public):        POST /api/forms/<id>/submit
# Read inbox (admin):     GET  /api/forms/<id>/submissions

API reference

The complete reference (every endpoint/command with method, path, auth, and example request/response) ships as OPENAPI.md in the product repo.

Support

Questions? Contact us — a human reads every message.