TrackMe API Docs

Get a single legal document.

Returns one document by slug with its Markdown `body`. Use the slugs from `GET /legal` (e.g. `privacy`, `terms`, `about`, `account-deletion`, `support`). Anonymous; locale via `Accept-Language` with English fallback.

GET
/api/v1/legal/{slug}

Authorization

bearerAuth
AuthorizationBearer <token>

AdonisJS access-token guard (middleware.auth({ guards: ["api"] })). Send Authorization: Bearer <oat_…> (issued by /auth/register, /auth/login, /auth/social/{google,apple}, or /auth/guest).

In: header

Path Parameters

slug*string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/legal/string"
{  "data": {    "slug": "privacy",    "title": "Privacy Policy",    "version": "2026-06-01",    "locale": "en",    "effectiveDate": "2026-06-01",    "body": "# Privacy Policy\n\n_Last updated: 1 June 2026_\n\nWe take your privacy seriously…",    "updatedAt": "2026-06-01T00:00:00.000Z"  },  "meta": {    "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7"  }}
{  "error": {    "code": "NOT_FOUND",    "message": "Resource not found.",    "targetType": "food_truck",    "targetId": "trk_01jq8z2hf5t8z4w9d8x4mzg2p3"  },  "meta": {    "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7"  }}