Check whether the API is running
curl --request GET \
--url https://api.phonovation.com/healthimport requests
url = "https://api.phonovation.com/health"
response = requests.get(url)
print(response.text)using RestSharp;
var options = new RestClientOptions("https://api.phonovation.com/health");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
HttpResponse<String> response = Unirest.get("https://api.phonovation.com/health")
.asString();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.phonovation.com/health",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}const options = {method: 'GET'};
fetch('https://api.phonovation.com/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));"Healthy"Health
Check whether the API is running
Check whether the Phonovation API is available and responding.
GET
/
health
Check whether the API is running
curl --request GET \
--url https://api.phonovation.com/healthimport requests
url = "https://api.phonovation.com/health"
response = requests.get(url)
print(response.text)using RestSharp;
var options = new RestClientOptions("https://api.phonovation.com/health");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
HttpResponse<String> response = Unirest.get("https://api.phonovation.com/health")
.asString();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.phonovation.com/health",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}const options = {method: 'GET'};
fetch('https://api.phonovation.com/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));"Healthy"This endpoint is public and does not send messages or consume credits. Use the playground to confirm that the API currently returns
Healthy.Response
The API service is running and responding.
The response is of type string.
Allowed value:
"Healthy"