docustay
v0.2.2
Published
Open-source e-signature. One flat price for every user.
Maintainers
Readme
docustay — the Docustay command line
npx docustay login # paste a key from Settings → Developers
npx docustay send --test <templateId> --party signer_1="Pat Example <[email protected]>"
npx docustay listen --forward-to http://localhost:3000/webhooks
npx docustay verify --secret whsec_… --id … --timestamp … --signature "v1,…" --body body.json- search
<words>finds documents, templates and people, best first, the same search as ⌘K in the app. - payments
listshows what was paid while signing, newest first, with this month's figures.refund <id> --reason "…" [--amount-minor 500]refunds through Stripe (leave out the amount for the rest of the payment) and never runs without--yes, or a typed yes at the prompt. - playbooks
list | on <name> | off <name>lists the playbooks (packs of templates and skills) and switches one on or off. - login keeps your key in
~/.config/docustay/config.json(mode 600).DOCUSTAY_API_KEYandDOCUSTAY_URLoverride it (use them in CI). - send --test refuses a live key unless you also say
--live, so a script cannot send real documents by accident. - listen makes a relay webhook (once) and fetches its signed deliveries to your computer: nothing is opened to the internet, the signature your code checks is the real one, and the signing secret is printed once.
docustay triggersends a sample event;--rotatemakes a new secret. - verify is the check your server should do, with the same code as the SDK.
- documents lists your documents, shows one (its people and events), sends a reminder, or cancels one (
void <id> --reason "…" --yes; it never runs without--yes). - webhooks lists, creates (
create --url https://… --events a,b), tests, rotates and deletes (delete <id> --yes) the places Docustay posts events; the signing secret is shown once. - logs shows the email log, or
--webhook <id>a webhook's recent deliveries; add--jsonto any command for machine-readable output.
MIT licence. Node 18 or newer. Built from sdk/cli in the Docustay repository.
