Logbook is a headless fitness tracking API designed to be used by AI agents.
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","device_name":"Claude Code"}'
first_name and last_name are only required on first sign-up. device_name is optional — it labels the token so you can identify it later.
Click the link in your email. The page displays your 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>"
You must authenticate with a magic link to access documentation.
Full interactive API reference (OpenAPI/Swagger):
http://logbook.bbeng89.com/docs/api
Machine-readable OpenAPI spec:
http://logbook.bbeng89.com/docs/api.json