Skip to Content
Edit on GitHub

API Endpoints

This overview has been superseded by the full API Reference — a complete, always-up-to-date reference generated from the live OpenAPI specification, with request and response schemas, cURL/JavaScript/Python examples and an in-browser playground.

All endpoints are prefixed with /api/v1/. The API Reference documents every public endpoint group:

Common Patterns

  • All endpoints are prefixed with /api/v1/.
  • Resources follow standard REST conventions: GET to list or retrieve, POST to create, PUT to update, DELETE to remove.
  • Create/update endpoints commonly accept multipart form data rather than JSON, since many also accept file uploads (e.g. thumbnails, avatars).
  • Authenticated endpoints require either the Authorization: Bearer <token> header or the access_token_cookie cookie.
  • Programmatic access uses API tokens with the lh_ prefix (Pro plan).
  • Responses are returned as JSON.

For a local development instance, the interactive Swagger UI also remains available at http://localhost:1338/docs .