Old: get a news post
curl --request GET \
--url https://{domain}/api/v1/news/{slug}import requests
url = "https://{domain}/api/v1/news/{slug}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{domain}/api/v1/news/{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://{domain}/api/v1/news/{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://{domain}/api/v1/news/{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://{domain}/api/v1/news/{slug}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{domain}/api/v1/news/{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{
"success": true,
"data": {
"id": 4,
"title": "Our new control panel is live",
"description": "Short interruptions on Saturday night while we upgrade the network.",
"slug": "new-control-panel",
"content": "# Welcome to Our News Article\n\nThis is a sample news article written in Markdown. You can edit this content using the editor below.\n\n## Getting Started\n\nReplace this content with your own news article. You can use standard Markdown syntax:\n\n- **Bold text** for emphasis\n\n...",
"processed_content": "<h1 class=\"text-5xl font-bold mb-6 mt-8 text-primary\">Welcome to Our News Article</h1>\n\n<p class=\"mb-4 text-secondary leading-relaxed\">This is a sample news article written in Markdown. You can edit this content using the editor below.</p>\n\n\n...",
"icon": null,
"layout": "authenticated",
"meta_title": null,
"meta_description": null,
"reactions_enabled": true,
"allowed_reactions": [
"👍"
],
"reaction_counts": [],
"published_at": "2026-04-03T09:08:43.000000Z",
"created_at": "2026-04-03T09:08:43.000000Z",
"updated_at": "2026-04-03T09:08:43.000000Z"
}
}{
"success": false,
"message": "News article not found"
}Deprecated endpoints
Old: get a news post
deprecated
One published post visible to everyone, with Markdown and pre rendered HTML (processed_content).
Deprecated. Kept so existing integrations keep working, but it will not get new fields. Use GET /api/public/modules/news/posts/{post} instead, which uses the standard response envelope, pagination and error format.
Authentication: none, no API key needed.
Rate limit: 10 requests per minute per IP.
GET
/
v1
/
news
/
{slug}
Old: get a news post
curl --request GET \
--url https://{domain}/api/v1/news/{slug}import requests
url = "https://{domain}/api/v1/news/{slug}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{domain}/api/v1/news/{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://{domain}/api/v1/news/{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://{domain}/api/v1/news/{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://{domain}/api/v1/news/{slug}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{domain}/api/v1/news/{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{
"success": true,
"data": {
"id": 4,
"title": "Our new control panel is live",
"description": "Short interruptions on Saturday night while we upgrade the network.",
"slug": "new-control-panel",
"content": "# Welcome to Our News Article\n\nThis is a sample news article written in Markdown. You can edit this content using the editor below.\n\n## Getting Started\n\nReplace this content with your own news article. You can use standard Markdown syntax:\n\n- **Bold text** for emphasis\n\n...",
"processed_content": "<h1 class=\"text-5xl font-bold mb-6 mt-8 text-primary\">Welcome to Our News Article</h1>\n\n<p class=\"mb-4 text-secondary leading-relaxed\">This is a sample news article written in Markdown. You can edit this content using the editor below.</p>\n\n\n...",
"icon": null,
"layout": "authenticated",
"meta_title": null,
"meta_description": null,
"reactions_enabled": true,
"allowed_reactions": [
"👍"
],
"reaction_counts": [],
"published_at": "2026-04-03T09:08:43.000000Z",
"created_at": "2026-04-03T09:08:43.000000Z",
"updated_at": "2026-04-03T09:08:43.000000Z"
}
}{
"success": false,
"message": "News article not found"
}Was this page helpful?

