Search Public Help Center
curl --request GET \
--url http://localhost:8080/api/v1/public/help-centers/{slug}/searchimport requests
url = "http://localhost:8080/api/v1/public/help-centers/{slug}/search"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:8080/api/v1/public/help-centers/{slug}/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "8080",
CURLOPT_URL => "http://localhost:8080/api/v1/public/help-centers/{slug}/search",
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 := "http://localhost:8080/api/v1/public/help-centers/{slug}/search"
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("http://localhost:8080/api/v1/public/help-centers/{slug}/search")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:8080/api/v1/public/help-centers/{slug}/search")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "success",
"data": [
{
"id": 1,
"created_at": "2025-08-28T10:00:00Z",
"updated_at": "2025-08-28T10:00:00Z",
"collection_id": 1,
"author_id": 123,
"author_name": "<string>",
"author_avatar": "<string>",
"created_by": 123,
"created_by_name": "<string>",
"slug": "reset-password",
"locale": "en",
"title": "Reset your password",
"content": "<p>...</p>",
"excerpt": "",
"meta_title": "",
"meta_description": "",
"meta_image_url": "",
"sort_order": 0,
"status": "published",
"view_count": 0,
"ai_enabled": false,
"helpful_count": 0,
"not_helpful_count": 0
}
]
}{
"status": "error",
"message": "Invalid request",
"data": "<unknown>",
"error_type": "GeneralException"
}{
"status": "error",
"message": "Invalid request",
"data": "<unknown>",
"error_type": "GeneralException"
}{
"status": "error",
"message": "Invalid request",
"data": "<unknown>",
"error_type": "GeneralException"
}Help Center
Search Public Help Center
GET
/
api
/
v1
/
public
/
help-centers
/
{slug}
/
search
Search Public Help Center
curl --request GET \
--url http://localhost:8080/api/v1/public/help-centers/{slug}/searchimport requests
url = "http://localhost:8080/api/v1/public/help-centers/{slug}/search"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:8080/api/v1/public/help-centers/{slug}/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "8080",
CURLOPT_URL => "http://localhost:8080/api/v1/public/help-centers/{slug}/search",
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 := "http://localhost:8080/api/v1/public/help-centers/{slug}/search"
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("http://localhost:8080/api/v1/public/help-centers/{slug}/search")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:8080/api/v1/public/help-centers/{slug}/search")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "success",
"data": [
{
"id": 1,
"created_at": "2025-08-28T10:00:00Z",
"updated_at": "2025-08-28T10:00:00Z",
"collection_id": 1,
"author_id": 123,
"author_name": "<string>",
"author_avatar": "<string>",
"created_by": 123,
"created_by_name": "<string>",
"slug": "reset-password",
"locale": "en",
"title": "Reset your password",
"content": "<p>...</p>",
"excerpt": "",
"meta_title": "",
"meta_description": "",
"meta_image_url": "",
"sort_order": 0,
"status": "published",
"view_count": 0,
"ai_enabled": false,
"helpful_count": 0,
"not_helpful_count": 0
}
]
}{
"status": "error",
"message": "Invalid request",
"data": "<unknown>",
"error_type": "GeneralException"
}{
"status": "error",
"message": "Invalid request",
"data": "<unknown>",
"error_type": "GeneralException"
}{
"status": "error",
"message": "Invalid request",
"data": "<unknown>",
"error_type": "GeneralException"
}Path Parameters
Help center slug.
Query Parameters
Search query.
Locale code. Falls back to the help center's default locale when missing or not allowed.
Pass 0 to skip recording the search in help center insights.
Was this page helpful?

