json
{
"SubscriberId": "TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d",
"EnableIntelligentGuardianCalls": true,
"EnableIntelligentGuardianMessages": true
}curl -X POST https://api.telegent.com/v1.0/subscribers/guardian-features \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"SubscriberId": "TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d",
"EnableIntelligentGuardianCalls": true,
"EnableIntelligentGuardianMessages": true
}'import requests
url = "https://api.telegent.com/v1.0/subscribers/guardian-features"
payload = {
"SubscriberId": "TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d",
"EnableIntelligentGuardianCalls": True,
"EnableIntelligentGuardianMessages": True
}
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({
SubscriberId: 'TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d',
EnableIntelligentGuardianCalls: true,
EnableIntelligentGuardianMessages: true
})
};
fetch('https://api.telegent.com/v1.0/subscribers/guardian-features', 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/subscribers/guardian-features",
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([
'SubscriberId' => 'TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d',
'EnableIntelligentGuardianCalls' => true,
'EnableIntelligentGuardianMessages' => true
]),
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/subscribers/guardian-features"
payload := strings.NewReader("{\n \"SubscriberId\": \"TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d\",\n \"EnableIntelligentGuardianCalls\": true,\n \"EnableIntelligentGuardianMessages\": true\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/subscribers/guardian-features")
.header("Content-Type", "application/json")
.body("{\n \"SubscriberId\": \"TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d\",\n \"EnableIntelligentGuardianCalls\": true,\n \"EnableIntelligentGuardianMessages\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telegent.com/v1.0/subscribers/guardian-features")
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 \"SubscriberId\": \"TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d\",\n \"EnableIntelligentGuardianCalls\": true,\n \"EnableIntelligentGuardianMessages\": true\n}"
response = http.request(request)
puts response.read_body{
"SubscriberId": "TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d",
"EnableIntelligentGuardianCalls": true,
"EnableIntelligentGuardianMessages": true
}{
"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>"
}Subscribers
Configure Guardian Features
Enable or disable AI Guardian on a subscriber. This is the first step for every Guardian workflow — filters, keyword rules, and parent/child relationships will not function until Guardian is enabled here.
Prerequisites:
- Bearer token —
POST /v1.0/oauth2/tokens - An existing Subscriber (
TSUID-) —POST /v1.0/subscribers/create
What this does: Turns AI Guardian on or off for the subscriber’s calls and messages independently. Set EnableIntelligentGuardianCalls and EnableIntelligentGuardianMessages to true to enable monitoring; set both to false to fully disable Guardian.
Next steps:
- Confirm the change took effect —
GET /v1.0/subscribers/guardian-features - Link a parent and child for supervision —
POST /v1.0/subscribers/guardians/relation - Create a message filter —
POST /v1.0/subscribers/message-filter - Create a call filter —
POST /v1.0/subscribers/call-filter
POST
/
v1.0
/
subscribers
/
guardian-features
json
{
"SubscriberId": "TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d",
"EnableIntelligentGuardianCalls": true,
"EnableIntelligentGuardianMessages": true
}curl -X POST https://api.telegent.com/v1.0/subscribers/guardian-features \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"SubscriberId": "TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d",
"EnableIntelligentGuardianCalls": true,
"EnableIntelligentGuardianMessages": true
}'import requests
url = "https://api.telegent.com/v1.0/subscribers/guardian-features"
payload = {
"SubscriberId": "TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d",
"EnableIntelligentGuardianCalls": True,
"EnableIntelligentGuardianMessages": True
}
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({
SubscriberId: 'TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d',
EnableIntelligentGuardianCalls: true,
EnableIntelligentGuardianMessages: true
})
};
fetch('https://api.telegent.com/v1.0/subscribers/guardian-features', 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/subscribers/guardian-features",
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([
'SubscriberId' => 'TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d',
'EnableIntelligentGuardianCalls' => true,
'EnableIntelligentGuardianMessages' => true
]),
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/subscribers/guardian-features"
payload := strings.NewReader("{\n \"SubscriberId\": \"TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d\",\n \"EnableIntelligentGuardianCalls\": true,\n \"EnableIntelligentGuardianMessages\": true\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/subscribers/guardian-features")
.header("Content-Type", "application/json")
.body("{\n \"SubscriberId\": \"TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d\",\n \"EnableIntelligentGuardianCalls\": true,\n \"EnableIntelligentGuardianMessages\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telegent.com/v1.0/subscribers/guardian-features")
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 \"SubscriberId\": \"TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d\",\n \"EnableIntelligentGuardianCalls\": true,\n \"EnableIntelligentGuardianMessages\": true\n}"
response = http.request(request)
puts response.read_body{
"SubscriberId": "TSUID-d7b3-4696-bdd9-5b407d9e99ee-3985-444b8d",
"EnableIntelligentGuardianCalls": true,
"EnableIntelligentGuardianMessages": true
}{
"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
application/json
Response
Guardian Features Saved
The response is of type object.