Logbook is a headless fitness tracking API designed to be used by AI agents.
Full interactive API reference (OpenAPI/Swagger):
http://logbook.bbeng89.com/docs/api
Machine-readable OpenAPI spec:
http://logbook.bbeng89.com/docs/api.json
Logbook uses magic links — no passwords required. The flow is:
curl -X POST http://logbook.bbeng89.com/api/magic-link \
-H "Content-Type: application/json" \
-d '{"email":"jane@example.com","first_name":"Jane","last_name":"Doe"}'
first_name and last_name are only required on first sign-up.
The user clicks the link in their email. The page displays their API token as plain text to copy.
Include the following header on all your API/MCP requests:
Authorization: Bearer <token>
curl -X POST http://logbook.bbeng89.com/api/logout \
-H "Authorization: Bearer <token>"
For full API details including all endpoints, request/response shapes, and filtering options, see the API documentation above.