Skip to content

The Open Source DocuSign Alternative.

health endpont

Timur Ercancb0ab9eeb653
diff --git a/pages/api/health.ts b/pages/api/health.ts
new file mode 100644
index 000000000..1365fc2ee
--- /dev/null
+++ b/pages/api/health.ts
@@ -0,0 +1,12 @@
+import type { NextApiRequest, NextApiResponse } from "next";
+
+type Data = {
+ name: string;
+};
+
+export default function handler(
+ req: NextApiRequest,
+ res: NextApiResponse<Data>
+) {
+ res.status(200).json({ name: "Api up and running :)" });
+}