List legal documents
curl --request GET \
--url https://api.example.com/api/v1/legalimport requests
url = "https://api.example.com/api/v1/legal"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/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/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/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/legal")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/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_bodyLegal
List legal documents
Public list of published legal documents as summaries, without their HTML bodies.
GET
/
api
/
v1
/
legal
List legal documents
curl --request GET \
--url https://api.example.com/api/v1/legalimport requests
url = "https://api.example.com/api/v1/legal"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/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/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/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/legal")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/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_bodyOverview
Returns every published legal document as a summary — enough to render a legal menu without downloading the full text of each one. Fetch an individual body withGET /api/v1/legal/{slug}.
Authentication
None. Legal content is readable before sign-up.The same documents are also served as public web pages (outside
/api/v1) for the app stores and anywhere else that needs a plain URL: /legal/terms and /legal/privacy, with an index at /legal. They render the identical admin-managed content as styled HTML.Response — 200 OK
{
"items": [
{
"slug": "PRIVACY",
"title": "Privacy Policy",
"version": 2,
"effectiveAt": "2026-08-03T00:00:00.000Z"
},
{
"slug": "TERMS",
"title": "Terms & Conditions",
"version": 4,
"effectiveAt": "2026-08-03T00:00:00.000Z"
}
]
}
| Field | Type | Notes |
|---|---|---|
slug | string | TERMS or PRIVACY |
title | string | Display title |
version | number | Bumps only on a real wording change |
effectiveAt | string | ISO-8601 “Last updated” date |
items array means nothing has been published yet.