Get CSAT settings by team ID
curl --request GET \
--url https://platform.thena.ai/v1/csat/team/{teamUid} \
--header 'x-api-key: <api-key>'import requests
url = "https://platform.thena.ai/v1/csat/team/{teamUid}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://platform.thena.ai/v1/csat/team/{teamUid}', 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://platform.thena.ai/v1/csat/team/{teamUid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://platform.thena.ai/v1/csat/team/{teamUid}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platform.thena.ai/v1/csat/team/{teamUid}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform.thena.ai/v1/csat/team/{teamUid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"ok": true,
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"team": {
"id": "12345678910"
},
"organization": {
"id": "98765432110"
},
"isEnabled": true,
"cooldownPeriodDays": 14,
"userCooldownPeriodDays": 30,
"emailConfigId": "email-config-123",
"closedStatusIds": [
"1",
"2",
"3"
],
"rules": [
{
"id": "rule-123",
"name": "High Priority Ticket Survey",
"description": "Sends CSAT surveys to customers with high priority tickets",
"isActive": true,
"priority": 1,
"createdAt": "2023-08-01T12:00:00Z",
"updatedAt": "2023-08-02T14:30:00Z"
}
],
"createdAt": "2023-01-01T00:00:00.000Z",
"updatedAt": "2023-01-01T00:00:00.000Z"
}
},
"status": true,
"message": "CSAT settings fetched successfully",
"timestamp": "2025-07-15T11:38:09.817Z"
}{
"statusCode": 401,
"message": "Unauthorized",
"error": "Unauthorized"
}{
"statusCode": 403,
"message": "Forbidden",
"error": "Forbidden"
}{
"statusCode": 404,
"message": "CSAT settings for team with ID team123 not found",
"error": "Not Found"
}{
"statusCode": 500,
"message": "Internal Server Error",
"error": "Internal Server Error"
}{
"statusCode": 503,
"message": "Service Unavailable",
"error": "Service Unavailable"
}CSAT
Get CSAT settings by team ID
GET
/
v1
/
csat
/
team
/
{teamUid}
Get CSAT settings by team ID
curl --request GET \
--url https://platform.thena.ai/v1/csat/team/{teamUid} \
--header 'x-api-key: <api-key>'import requests
url = "https://platform.thena.ai/v1/csat/team/{teamUid}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://platform.thena.ai/v1/csat/team/{teamUid}', 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://platform.thena.ai/v1/csat/team/{teamUid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://platform.thena.ai/v1/csat/team/{teamUid}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platform.thena.ai/v1/csat/team/{teamUid}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform.thena.ai/v1/csat/team/{teamUid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"ok": true,
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"team": {
"id": "12345678910"
},
"organization": {
"id": "98765432110"
},
"isEnabled": true,
"cooldownPeriodDays": 14,
"userCooldownPeriodDays": 30,
"emailConfigId": "email-config-123",
"closedStatusIds": [
"1",
"2",
"3"
],
"rules": [
{
"id": "rule-123",
"name": "High Priority Ticket Survey",
"description": "Sends CSAT surveys to customers with high priority tickets",
"isActive": true,
"priority": 1,
"createdAt": "2023-08-01T12:00:00Z",
"updatedAt": "2023-08-02T14:30:00Z"
}
],
"createdAt": "2023-01-01T00:00:00.000Z",
"updatedAt": "2023-01-01T00:00:00.000Z"
}
},
"status": true,
"message": "CSAT settings fetched successfully",
"timestamp": "2025-07-15T11:38:09.817Z"
}{
"statusCode": 401,
"message": "Unauthorized",
"error": "Unauthorized"
}{
"statusCode": 403,
"message": "Forbidden",
"error": "Forbidden"
}{
"statusCode": 404,
"message": "CSAT settings for team with ID team123 not found",
"error": "Not Found"
}{
"statusCode": 500,
"message": "Internal Server Error",
"error": "Internal Server Error"
}{
"statusCode": 503,
"message": "Service Unavailable",
"error": "Service Unavailable"
}⌘I