Resolve a public twin widget by its web-access slug
curl --request GET \
--url https://pria.praxislxp.com/api/agent/twins/{slug}import requests
url = "https://pria.praxislxp.com/api/agent/twins/{slug}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://pria.praxislxp.com/api/agent/twins/{slug}', 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://pria.praxislxp.com/api/agent/twins/{slug}",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/agent/twins/{slug}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pria.praxislxp.com/api/agent/twins/{slug}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/agent/twins/{slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"publicId": "1eb68828-892d-4248-a6c9-a6c3ad2f4f8a",
"name": "AI for Good",
"ainame": "Nova",
"about": "Hi, I'm Nova...",
"picture": "https://pria.praxislxp.com/uploads/.../img1.png",
"picture_bg": "https://pria.praxislxp.com/pria_bg2.webp",
"picture_dark_bg": "https://pria.praxislxp.com/pria-bg-silver.png",
"picture_animated": "",
"css": null,
"theme": null
}{
"success": false,
"message": "<string>",
"error": "<string>"
}Branding
Resolve a public twin widget by its web-access slug
Resolves an institution configured for public web access at
/twins/{slug} and returns the publicId plus branding needed to
launch its digital twin. Powers the no-auth public widget page.
No authentication required. Returns 404 unless the institution has
a matching webAccessSlug and is active and not disabled. Any twin with a
slug is reachable; the public page always renders in guest mode regardless
of the institution’s guestUI setting. Rate limited per IP.
GET
/
api
/
agent
/
twins
/
{slug}
Resolve a public twin widget by its web-access slug
curl --request GET \
--url https://pria.praxislxp.com/api/agent/twins/{slug}import requests
url = "https://pria.praxislxp.com/api/agent/twins/{slug}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://pria.praxislxp.com/api/agent/twins/{slug}', 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://pria.praxislxp.com/api/agent/twins/{slug}",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/agent/twins/{slug}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pria.praxislxp.com/api/agent/twins/{slug}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/agent/twins/{slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"publicId": "1eb68828-892d-4248-a6c9-a6c3ad2f4f8a",
"name": "AI for Good",
"ainame": "Nova",
"about": "Hi, I'm Nova...",
"picture": "https://pria.praxislxp.com/uploads/.../img1.png",
"picture_bg": "https://pria.praxislxp.com/pria_bg2.webp",
"picture_dark_bg": "https://pria.praxislxp.com/pria-bg-silver.png",
"picture_animated": "",
"css": null,
"theme": null
}{
"success": false,
"message": "<string>",
"error": "<string>"
}Was this page helpful?
⌘I