Get a category (public)
curl --request GET \
--url https://{domain}/api/public/modules/knowledgebase/categories/{category}import requests
url = "https://{domain}/api/public/modules/knowledgebase/categories/{category}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{domain}/api/public/modules/knowledgebase/categories/{category}', 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://{domain}/api/public/modules/knowledgebase/categories/{category}",
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://{domain}/api/public/modules/knowledgebase/categories/{category}"
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://{domain}/api/public/modules/knowledgebase/categories/{category}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{domain}/api/public/modules/knowledgebase/categories/{category}")
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{
"data": {
"id": 1,
"name": "Getting started",
"slug": "getting-started",
"url": "https://billing.example.com/knowledgebase/getting-started",
"description": "First steps with your account and services.",
"game": "Minecraft",
"icon": "book",
"order": 0,
"meta_title": "Install a Minecraft mod",
"meta_description": "Upload a mod and restart your server.",
"articles_count": 1,
"created_at": "2025-12-05T17:56:07Z",
"updated_at": "2025-12-05T17:56:20Z",
"articles": [
{
"id": 1,
"title": "How to install a mod on your Minecraft server",
"slug": "install-a-minecraft-mod",
"url": "https://billing.example.com/knowledgebase/getting-started/install-a-minecraft-mod",
"description": null,
"icon": null,
"is_featured": true,
"views": 7,
"order": 0,
"og_image": null,
"meta_title": null,
"meta_description": null,
"category": {
"id": 1,
"name": "Getting started",
"slug": "getting-started"
},
"created_at": "2025-12-05T17:57:38Z",
"updated_at": "2026-07-30T07:43:24Z"
}
]
},
"meta": {
"request_id": "658ef269-59e9-4ea7-8320-ccf1abd44527"
}
}{
"error": {
"code": "not_found",
"message": "Category not found.",
"details": {}
},
"request_id": "3f6c2a1e-8b4d-4f7a-9c2e-5d1b7a9e0c42"
}{
"error": {
"code": "too_many_requests",
"message": "Too many requests. Retry after the number of seconds in the Retry-After header.",
"details": {}
},
"request_id": "db4f5a74-f1c8-4554-a36b-7dced81670a8"
}Knowledge Base (public)
Get a category (public)
One category with its articles (without content). The key API accepts id or slug and includes inactive articles; the public API takes the slug of an active category.
This is the public, keyless version. It only returns what an anonymous visitor can see on your site, is cached for 60 seconds (edits in the admin area show up at once) and allows 60 requests per minute per IP.
Authentication: none, no API key needed.
Rate limit: 60 requests per minute per IP.
GET
/
public
/
modules
/
knowledgebase
/
categories
/
{category}
Get a category (public)
curl --request GET \
--url https://{domain}/api/public/modules/knowledgebase/categories/{category}import requests
url = "https://{domain}/api/public/modules/knowledgebase/categories/{category}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{domain}/api/public/modules/knowledgebase/categories/{category}', 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://{domain}/api/public/modules/knowledgebase/categories/{category}",
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://{domain}/api/public/modules/knowledgebase/categories/{category}"
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://{domain}/api/public/modules/knowledgebase/categories/{category}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{domain}/api/public/modules/knowledgebase/categories/{category}")
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{
"data": {
"id": 1,
"name": "Getting started",
"slug": "getting-started",
"url": "https://billing.example.com/knowledgebase/getting-started",
"description": "First steps with your account and services.",
"game": "Minecraft",
"icon": "book",
"order": 0,
"meta_title": "Install a Minecraft mod",
"meta_description": "Upload a mod and restart your server.",
"articles_count": 1,
"created_at": "2025-12-05T17:56:07Z",
"updated_at": "2025-12-05T17:56:20Z",
"articles": [
{
"id": 1,
"title": "How to install a mod on your Minecraft server",
"slug": "install-a-minecraft-mod",
"url": "https://billing.example.com/knowledgebase/getting-started/install-a-minecraft-mod",
"description": null,
"icon": null,
"is_featured": true,
"views": 7,
"order": 0,
"og_image": null,
"meta_title": null,
"meta_description": null,
"category": {
"id": 1,
"name": "Getting started",
"slug": "getting-started"
},
"created_at": "2025-12-05T17:57:38Z",
"updated_at": "2026-07-30T07:43:24Z"
}
]
},
"meta": {
"request_id": "658ef269-59e9-4ea7-8320-ccf1abd44527"
}
}{
"error": {
"code": "not_found",
"message": "Category not found.",
"details": {}
},
"request_id": "3f6c2a1e-8b4d-4f7a-9c2e-5d1b7a9e0c42"
}{
"error": {
"code": "too_many_requests",
"message": "Too many requests. Retry after the number of seconds in the Retry-After header.",
"details": {}
},
"request_id": "db4f5a74-f1c8-4554-a36b-7dced81670a8"
}Was this page helpful?

