A published legal document

The full text of one of the twenty published Trooth legal documents, with its title, effective date and body. The slug must be one of the published set; anything else responds 404. Cached at the edge for one hour with a one day stale-while-revalidate window. Readable cross-origin: the response carries Access-Control-Allow-Origin: * and never Access-Control-Allow-Credentials, so a browser on any site may read it without cookies.

get/api/legal/{slug}

Request

  • Base URL: https://trooth.co
  • URL: https://trooth.co/api/legal/{slug}
  • Auth: none required

Path parameters

slugstring required

Document slug, for example privacy, terms, subprocessors.

Response

The document.

slugstring required
titlestring required
effectivestring required
htmlstring required

Changes

No recorded changes to this operation across all 1 revision of this API.