# b59 book > Booking pages by b59.link: plans, times and payment in one place, with a REST API and an MCP server for scripts and AI agents. Biz59 LLC, New York. - Docs: https://b59.link/book/docs - Make a page: https://b59.link/book/me - Terms: https://b59.link/book/terms ## Sign in Base URL: https://b59.link/api/book 1. POST /v1/auth {"email": "you@example.com"} emails a 6-digit code, good for 10 minutes. 2. POST /v1/auth {"email": "you@example.com", "otp": "123456"} answers session_key, good for 30 days. A new email gets an account here. 3. Send Authorization: Bearer on later calls. POST /v1/auth/logout ends it. ## REST - POST /v1/auth: Email for a code; email and otp for a session key. - POST /v1/auth/logout (sign-in): Ends the session key in the header. - GET /p/{slug}: A page's public details and plans. - GET /p/{slug}/terms: The text and version of the page's terms. - GET /p/{slug}/slots: Free start times in UTC. - POST /v1/p/{slug}/book (sign-in): Book. Fields: plan, starts_at, name, and when needed note, tz, terms_version, phone. - GET /v1/usage (sign-in): Today's count, the limit and when it resets. ## MCP URL: https://b59.link/api/book/mcp (JSON-RPC 2.0 over HTTP, plain JSON replies). The same tools in function-calling format: https://b59.link/api/book/mcp/schema OAuth clients: https://b59.link/api/book/mcp/oauth (its 401 points to the metadata; PKCE S256, self-registration, the person signs in with the same email code). - auth: Pass email to get a 6-digit code by email, then email and otp to get a session key. A new email gets an account here. - get_booking_page: A page's title, plans, hours and contact, and its terms when it has any. - list_free_times: The page's free start times in UTC. - create_booking (sign-in): Book a free time under the signed-in email. A free plan is confirmed at once; a paid plan holds the time and answers a checkout_url for the person to pay. - get_usage (sign-in): Bookings made through the API and MCP today (UTC), the limit and when the count resets. ## Limits 10 bookings per account per UTC day through the API and MCP (429 daily_limit past it, with resets_at and subscribe_url). A subscription lifts it. Booking on the page itself is never limited. A paid booking is confirmed only when the person pays at checkout_url.