TrackMe API Docs

List legal & informational documents.

Returns the available legal/info documents (privacy, terms, about, account-deletion, support) for the requested locale — slug, title, and version only, no bodies. Anonymous. Locale is taken from `Accept-Language`; documents not yet translated fall back to English.

GET
/api/v1/legal

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

Response Body

application/json

curl -X GET "https://example.com/api/v1/legal"
{  "data": {    "items": [      {        "slug": "about",        "title": "About TrackMe",        "version": "2026-06-01",        "locale": "en",        "effectiveDate": "2026-06-01"      },      {        "slug": "privacy",        "title": "Privacy Policy",        "version": "2026-06-01",        "locale": "en",        "effectiveDate": "2026-06-01"      },      {        "slug": "terms",        "title": "Terms of Service",        "version": "2026-06-01",        "locale": "en",        "effectiveDate": "2026-06-01"      },      {        "slug": "account-deletion",        "title": "Account & Data Deletion",        "version": "2026-06-01",        "locale": "en",        "effectiveDate": "2026-06-01"      },      {        "slug": "support",        "title": "Support & Contact",        "version": "2026-06-01",        "locale": "en",        "effectiveDate": "2026-06-01"      }    ]  },  "meta": {    "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7"  }}