Public API referenceOpenAPI published

SmartClover exposes a small public website API surface for status, runtime identity, and structured contact intake.

This site does not currently publish protected APIs or OAuth discovery metadata. The public API surface is limited to operational inspection endpoints and structured contact intake.

API scope

Public inspection only

The OpenAPI description documents the status, host-id, and contact endpoints. Product application APIs remain outside this public website surface.

Endpoints

Use the OpenAPI description for machine consumption and the examples below for direct manual inspection.

GET /api/status

Returns a lightweight health payload with the public website service status, current site version, and exposed public endpoints.

curl https://smartclover.ro/api/status

GET /api/host-id

Returns the runtime host identifier shown in the SmartClover footer banner. This is intended for operational verification, not authentication.

curl https://smartclover.ro/api/host-id

POST /api/contact

Accepts the same structured inquiry payload used by the public contact form for demo requests, pilot discussions, research partnerships, investor conversations, and general outreach.

curl https://smartclover.ro/api/contact \
  -X POST \
  -H 'Content-Type: application/json' \
  -d '{
    "inquiryType": "Book demo / Request pilot",
    "fullName": "Example User",
    "email": "user@example.com",
    "organization": "Example Clinic",
    "role": "Clinical lead",
    "organizationType": "Hospital or clinic",
    "useCase": "Evaluate CerviGuard for pilot deployment.",
    "deploymentPreference": "Managed SaaS",
    "timeline": "3-6 months",
    "complianceRequirements": "Need GDPR-aligned handling and procurement review.",
    "consentAccepted": true,
    "website": ""
  }'