const response = await fetch("https://api.worqhat.com/", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.WORQHAT_API_KEY}`
}
});
const data = await response.json();
console.log(data);GET/
Returns the root WorqHat API status payload (uptime, meta).
Response
Sample response shown. Click Run to fetch live data.
Sample
Status—
Source: Sample
Updated: —
{
"success": true,
"uptime": 12345,
"environment": "sandbox",
"timestamp": "2024-01-01T00:00:00Z"
}Welcome
Before we start, what's your email?
We'll keep it on device for quick personalization and also send it to WorqHat once the collection API is wired up.
