API documentation

Recipes

Task-driven walkthroughs. Each recipe is one focused thing — copy the code, read the few notes, ship. Where they reach into the API, they link back to the reference pages so the deep mechanics stay one click away.

Pick a recipe

Difficulty is rough — “starter” means you can be done within the listed time even if this is your first integration; “intermediate” assumes you're comfortable with the basics (quickstart first).

starter·10 min
Next.js Server Action
Server Action that quotes → submits → returns a jobId.
The most common JS path. One "use server" file, end-to-end.
starter·15 min
Rails integration
Rails controllers for ordering + a webhook receiver with HMAC verify.
Standard Rails patterns; SecureRandom-keyed idempotency.
starter·10 min
Offline certificate verification (browser)
Verify a Verdacert JWS receipt entirely client-side, no API key.
Useful when a third party hands your user a certificate — you can prove authenticity before doing anything with it.
intermediate·20 min
Multi-tenant SaaS
One API key per tenant, with per-call webhookUrl for clean event routing.
The shape every agent platform with N customers ends up needing.
intermediate·20 min
AI agent with tool calls
Anthropic SDK + Verdacert tool definitions. Multi-step agent loop.
Direct Anthropic — for when you don't want a Vercel AI SDK dependency.

Missing a recipe?

If you've built something useful and would let us share it, we'd love to.

Email hello@verdacert.com with a one-paragraph sketch of the recipe and a link to the code. The most common requests we've had so far that aren't covered here yet: WhatsApp Business intake, a Django integration, and a Cloudflare Workers receiver. Drop a line if any of those would help you.

Get instant quotePricing