{}curl -X POST https://api.telegent.com/v1.0/health-status \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{}'import requests
url = "https://api.telegent.com/v1.0/health-status"
payload = { "ProductId": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({ProductId: '<string>'})
};
fetch('https://api.telegent.com/v1.0/health-status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.telegent.com/v1.0/health-status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'ProductId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.telegent.com/v1.0/health-status"
payload := strings.NewReader("{\n \"ProductId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.telegent.com/v1.0/health-status")
.header("Content-Type", "application/json")
.body("{\n \"ProductId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telegent.com/v1.0/health-status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"ProductId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"Status": "Healthy",
"Checked_On_UTC": "2026-08-10T18:15:37.9459153Z",
"Database": {
"Status": "Ok",
"Duration_Ms": 1335,
"Error": null
},
"TMobile_Api": {
"Status": "Ok",
"Duration_Ms": 2157,
"Error": null
}
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}Health Status
Check that the Telegent platform and its upstream dependencies are reachable. Use this as a pre-flight check before a batch of provisioning calls, or as the target for an uptime monitor.
What this checks:
Database— the Telegent platform database connection.TMobile_Api— reachability of the upstream T-Mobile API, verified with a live available-products call.
Each check reports its own Status, how long it took in Duration_Ms, and an Error string that is null while the dependency is healthy. The top-level Status summarises both, and Checked_On_UTC is the UTC timestamp the checks ran.
Reading the response: A dependency being unreachable does not fail the request — this endpoint returns HTTP 200 and reports the problem in the payload. Always read Status rather than relying on the HTTP status code alone, and check each dependency’s Error for the underlying cause.
Note on Duration_Ms: these are live round-trip times against the dependency, not cached values, so a slow-but-healthy upstream shows up as a large Duration_Ms with Status: "Ok".
{}curl -X POST https://api.telegent.com/v1.0/health-status \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{}'import requests
url = "https://api.telegent.com/v1.0/health-status"
payload = { "ProductId": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({ProductId: '<string>'})
};
fetch('https://api.telegent.com/v1.0/health-status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.telegent.com/v1.0/health-status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'ProductId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.telegent.com/v1.0/health-status"
payload := strings.NewReader("{\n \"ProductId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.telegent.com/v1.0/health-status")
.header("Content-Type", "application/json")
.body("{\n \"ProductId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telegent.com/v1.0/health-status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"ProductId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"Status": "Healthy",
"Checked_On_UTC": "2026-08-10T18:15:37.9459153Z",
"Database": {
"Status": "Ok",
"Duration_Ms": 1335,
"Error": null
},
"TMobile_Api": {
"Status": "Ok",
"Duration_Ms": 2157,
"Error": null
}
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}{
"StatusCode": 123,
"Message": "<string>"
}Body
Optional product identifier forwarded to the upstream T-Mobile available-products call. Leave blank — the usual case — to check against every available product.
Response
Success — returns platform and dependency health
The response is of type object.