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>"
Ask your agent to fetch the API docs link using the get_docs_url tool.