Skip to main content
GET
/
Server information
const url = 'https://api.worqhat.com/';
const options = {method: 'GET', body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "name": "WorqHat API",
  "version": "1.0.0",
  "environment": "production"
}

Response

Server information

name
string
Example:

"WorqHat API"

version
string
Example:

"1.0.0"

environment
string
Example:

"production"