Get FAQ stats of an assistant
Returns how many FAQs the assistant has and how many suggestions are waiting to be reviewed, counted over the suggestions the current user is allowed to see.
GET
/
api
/
v1
/
accounts
/
{account_id}
/
captain
/
assistants
/
{id}
/
faq_stats
Get FAQ stats of an assistant
curl --request GET \
--url https://chat.wiseapp360.com/api/v1/accounts/{account_id}/captain/assistants/{id}/faq_stats \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://chat.wiseapp360.com/api/v1/accounts/{account_id}/captain/assistants/{id}/faq_stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://chat.wiseapp360.com/api/v1/accounts/{account_id}/captain/assistants/{id}/faq_stats"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://chat.wiseapp360.com/api/v1/accounts/{account_id}/captain/assistants/{id}/faq_stats",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api_access_token: <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://chat.wiseapp360.com/api/v1/accounts/{account_id}/captain/assistants/{id}/faq_stats"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api_access_token", "<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://chat.wiseapp360.com/api/v1/accounts/{account_id}/captain/assistants/{id}/faq_stats")
.header("api_access_token", "<api-key>")
.asString();{
"data": [
{
"id": 1,
"name": "Sample Faq Stat",
"status": "active",
"created_at": "2026-05-20T12:00:00Z"
}
],
"meta": {
"count": 1,
"current_page": 1
}
}{
"error": "Unauthorized"
}{
"error": "Resource not found"
}Autorizações
Resposta
Success
The response is of type object.
⌘I
Get FAQ stats of an assistant
curl --request GET \
--url https://chat.wiseapp360.com/api/v1/accounts/{account_id}/captain/assistants/{id}/faq_stats \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://chat.wiseapp360.com/api/v1/accounts/{account_id}/captain/assistants/{id}/faq_stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://chat.wiseapp360.com/api/v1/accounts/{account_id}/captain/assistants/{id}/faq_stats"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://chat.wiseapp360.com/api/v1/accounts/{account_id}/captain/assistants/{id}/faq_stats",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api_access_token: <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://chat.wiseapp360.com/api/v1/accounts/{account_id}/captain/assistants/{id}/faq_stats"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api_access_token", "<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://chat.wiseapp360.com/api/v1/accounts/{account_id}/captain/assistants/{id}/faq_stats")
.header("api_access_token", "<api-key>")
.asString();{
"data": [
{
"id": 1,
"name": "Sample Faq Stat",
"status": "active",
"created_at": "2026-05-20T12:00:00Z"
}
],
"meta": {
"count": 1,
"current_page": 1
}
}{
"error": "Unauthorized"
}{
"error": "Resource not found"
}