Check the API is up
GET
/health
const url = 'https://app.tunnelhq.com/api/v1/health';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.tunnelhq.com/api/v1/healthAnswers as long as the API is running. No key needed.
Responses
Section titled “ Responses ”The API is up.
Media typeapplication/json
object
status
required
string
version
required
string
uptime
required
Seconds since the server started.
integer
Example
{ "status": "healthy", "version": "1.0.3", "uptime": 55998}