API reference · Public
Public site options
get
/public/options| Authentication | None (public) |
|---|---|
| Access | Guest · Free user · Pro user · Consultant · Super admin Public — no token |
The legal entity the legal pages quote: company legal name, registered address, support email, governing law, whether
counsel reviewed the texts and the «Last updated» date. Each value is the one saved in the admin panel
(PUT /admin/legal), else the server .env (RAWI_LEGAL_*, RAWI_SUPPORT_EMAIL). Never a placeholder: an unknown
company name is null (the site shows its own name) and an unknown support email falls back to MAIL_FROM_ADDRESS.
Responses
200 — PublicOptions
| Field | Type | Description |
|---|---|---|
legal* | object | |
legal.company_name* | string | null | |
legal.address* | string | null | |
legal.support_email* | string | null | |
legal.governing_law* | string | null | |
legal.reviewed* | any | |
legal.updated_at* | string | null | When it was last changed (ISO 8601). |
json
{
"legal": {
"company_name": "Rawi Labs Ltd",
"address": "1 Example Street, London",
"support_email": "support@rawi.example",
"governing_law": "England and Wales",
"reviewed": false,
"updated_at": "2026-11-20"
}
}
curl example
bash
curl -X GET 'http://127.0.0.1:8010/api/public/options' \
-H 'Accept: application/json'