Skip to main content
JSVHQ logoJSVHQ logoJSVHQRequest NDA

Public API

JSVHQ API documentation

This site exposes a small public API for booking, availability lookup, lead capture, and service health. The machine-readable description is available at /openapi.json, and the discovery catalog is published at /.well-known/api-catalog.

GET /.netlify/functions/availability

Returns open 15-minute weekday slots for a requested date. Supply the date query parameter in YYYY-MM-DD format.

GET /.netlify/functions/availability?date=2026-04-21

POST /.netlify/functions/book

Creates a 15-minute intro booking and requires reCAPTCHA verification. Required JSON fields:date, time, name, email, topic, and recaptchaToken.

{
  "date": "2026-04-21",
  "time": "13:15",
  "name": "Jane Doe",
  "email": "jane@example.com",
  "company": "Example Co",
  "topic": "Advisory intro",
  "recaptchaToken": "token"
}

POST /.netlify/functions/lead

Captures newsletter, contact, and audit leads. Required JSON fields: email and recaptchaToken. Optional fields include name, firstName, company, source, message, and formPage.

{
  "email": "jane@example.com",
  "name": "Jane Doe",
  "source": "website_contact",
  "message": "Need help with a sensitive cross-border issue.",
  "formPage": "/contact",
  "recaptchaToken": "token"
}

GET /.netlify/functions/status

Lightweight health endpoint for automated discovery and monitoring.