Javascript
import Worqhat from 'worqhat'; const client = new Worqhat({ apiKey: 'My API Key', }); const response = await client.getServerInfo(); console.log(response.environment);
{ "name": "WorqHat API", "version": "1.0.0", "environment": "production" }
Get basic server information and status
Server information
"WorqHat API"
"1.0.0"
"production"
Was this page helpful?