GET
/
api
/
v1
/
admin
/
legal
List legal documents
curl --request GET \
  --url https://api.example.com/api/v1/admin/legal
import requests

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

response = requests.get(url)

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

fetch('https://api.example.com/api/v1/admin/legal', 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",
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"

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")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.example.com/api/v1/admin/legal")

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

Returns every legal document — published and draft — including the full HTML body, so the admin panel can populate its editor in one request.

Authentication

Bearer admin token. Any admin role may read.

Response — 200 OK

{
  "items": [
    {
      "slug": "TERMS",
      "title": "Terms & Conditions",
      "bodyHtml": "<h2>1. Acceptance of Terms</h2><p>…</p>",
      "version": 4,
      "effectiveAt": "2026-08-03T00:00:00.000Z",
      "isPublished": true,
      "createdAt": "2026-08-03T09:00:00.000Z",
      "updatedAt": "2026-08-03T14:22:11.000Z"
    }
  ]
}
FieldTypeNotes
isPublishedbooleanDrafts are hidden from the public endpoints
versionnumberIncrements only on a title/body change
A document that has never been saved simply does not appear in the list.