Get a published policy
Returns one published legal document with its text, in Markdown. Without version the latest
published version is returned; with version that earlier version is returned, so an order
can be shown the terms that applied when it was placed. latest_version always reports the
current one.
Every published version is kept and stays readable for as long as the document is published.
A slug that was never published, has been switched off or has been unpublished returns 404,
as does a version number that does not exist.
Authorizations
API Key Authentication
Use your API key in the Authorization header:
Key Types:
Secret Keys (Server-Side Only):
- Format:
tybrite_sk_live_*(production) ortybrite_sk_test_*(sandbox) - Full read/write access to all endpoints
- ⚠️ NEVER expose in client-side code or public repositories
- Required for: write operations, authentication, payment verification, AI recommendations
Publishable Keys (Client-Safe):
- Format:
tybrite_pk_live_*(production) ortybrite_pk_test_*(sandbox) - Read-only access (GET requests only, plus POST semantic search)
- ✅ Safe for client-side JavaScript, mobile apps, and public code
- Allowed for: browsing products, search, CMS content, pricing queries
Endpoint-Specific Requirements:
- Authentication endpoints (
/v1/auth/*): Secret key required - Payment verification (
POST /v1/payments/verify): Secret key required - AI Recommendations (
POST /v1/recommendations): Secret key required - Semantic Search (
POST /v1/search): Both key types allowed (read-only operation) - All write operations: Secret key required
- All read operations: Both key types allowed
Using a publishable key for restricted operations returns 403 Forbidden.
Path Parameters
The document's address: privacy, terms, returns, shipping, cookies, imprint, accessibility, or a slug the merchant chose for a document of their own. Lowercase letters, digits and hyphens, starting with a letter, 2 to 48 characters.
^[a-z][a-z0-9-]{1,47}$Query Parameters
A specific published version. Omit for the latest.
x >= 1Response
The published document
One published version of a legal document, with its text.

