GET
/
api
/
v1
/
admin
/
legal
/
{slug}
Get legal document
curl --request GET \
  --url https://api.example.com/api/v1/admin/legal/{slug}
import requests

url = "https://api.example.com/api/v1/admin/legal/{slug}"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.example.com/api/v1/admin/legal/{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://api.example.com/api/v1/admin/legal/{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://api.example.com/api/v1/admin/legal/{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://api.example.com/api/v1/admin/legal/{slug}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.example.com/api/v1/admin/legal/{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

Overview

Reads one legal document by slug (TERMS or PRIVACY), regardless of publish state.

Authentication

Bearer admin token. Any admin role may read.

Response — 200 OK

Same shape as one item from the list endpoint.
{
  "slug": "PRIVACY",
  "title": "Privacy Policy",
  "bodyHtml": "<h2>1. Information We Collect</h2><p>…</p>",
  "version": 2,
  "effectiveAt": "2026-08-03T00:00:00.000Z",
  "isPublished": true,
  "createdAt": "2026-08-03T09:00:00.000Z",
  "updatedAt": "2026-08-03T14:22:11.000Z"
}

Errors

StatusCodeWhen
400VALIDATION_FAILEDslug is not a known document
404NOT_FOUNDThe document has never been saved