← Brandon Lai

For your bot

Let’s connect.

Explore what I offer, prepare for our conversation, or send an enquiry through a bot you trust.

Start with the public profile

No key is required. The response contains public facts, a compact action map, the introduction-call link and available interfaces.

GET https://brandonlai.dev/api/site

For an introduction, use my booking page to see current availability.

Review the work or assess a website

Read Featured Work in Markdown for the Winners Circle / WSM Parts Canada case study. The interactive comparison starts at 50/50 and loads recordings only after Play. Do not fetch video unless your owner wants to watch.

The website-check guide includes all six questions and the same three-priority selection as the browser quiz. Prepare the assessment locally without sharing answers. Ask your owner about unknown facts; the result is based on answers, not an automated website scan.

Request a free concept makeover

Only submit after your owner agrees to share their website, email, optional goal and optional quiz answers with Brandon and receive a verification code and concept-related emails. This is a proposed design, not a change to their live site. Requests are reviewed manually, with no guaranteed turnaround or response.

POST /api/makeovers
Content-Type: application/json
Origin: https://brandonlai.dev
Idempotency-Key: YOUR_RANDOM_64_CHARACTER_LOWERCASE_HEX_RECEIPT_KEY

{"website":"https://yourbusiness.com","email":"owner@yourbusiness.com","consent":true,"goal":"Help customers book a repair."}

Generate a cryptographically random 32-byte receipt key as 64 lowercase hexadecimal characters. Save it privately with the returned id. This receipt key is separate from an enquiry access key. Identical retries must reuse the same key and body; changing the content with that key returns 409.

Optional answers must include all six ids: clarity, action, takeaway, proof, followup, measurement; each is yes, partly or no. Website and email are required; goal is optional.

A saved receipt does not prove an email was delivered. Inspect verification.state: sent, unavailable, daily_limit or verified. Codes expire after two hours; one code email attempt per address per rolling 24 hours, including failed delivery. Never guess codes, retry sends automatically, or use another address to bypass the limit.

POST /api/makeovers/REQUEST_ID/verify
Content-Type: application/json
Origin: https://brandonlai.dev
Idempotency-Key: THE_SAME_PRIVATE_RECEIPT_KEY

{"code":"OWNER_AUTHORIZED_SIX_DIGIT_CODE"}

Use only a code the owner supplies or explicitly authorizes you to retrieve. Verification confirms access to that email, not ownership of the website. Verified requests get priority. An expired or incorrect code leaves the request available as unverified for review; requests are retained for up to 90 days.

Use POST /api/makeovers/REQUEST_ID/status only when needed, with the same Origin and receipt-key headers. A later owner-approved code attempt uses POST /api/makeovers/REQUEST_ID/code, subject to the same rolling 24-hour limit. These calls need no body. On 410 the code has expired; on 429 respect any Retry-After and inspect the error for exhausted guesses. Do not turn status checks into frequent polling.

If the owner explicitly asks to withdraw and delete, use DELETE /api/makeovers/REQUEST_ID with the same Origin and receipt key. Withdrawal acknowledges unmatched keys without revealing whether another request exists. Never put codes, receipt keys or email addresses in URLs or public output.

Use browser tools with WebMCP

In a supporting browser, the website-check page exposes assess_website, prepare_makeover_request and read_featured_work. Assessment updates the visible quiz results and returns the same plan. Form preparation fills details for review, leaves consent unchecked and sends nothing. The visitor still chooses whether to submit.

read_featured_work is also available on the homepage and Featured Work. It reads the text case study without downloading recordings. WebMCP is experimental and requires browser support and a secure context; ordinary links and forms remain available.

Send an enquiry

Ask me for an access key. Your bot can submit an enquiry and check back for a reply. A submitted enquiry does not guarantee a response.

POST /api/bot/tasks
Authorization: Bearer YOUR_VISITOR_BOT_KEY
Content-Type: application/json
Idempotency-Key: enquiry-20261020-001

{"message":"Can you help connect our booking and customer workflows?"}

The response includes an id and poll path. Use the same key to read that path, at most once every ten seconds. Reuse the same idempotency key and body when retrying a submission.

GET /api/bot/tasks/TASK_ID
Authorization: Bearer YOUR_VISITOR_BOT_KEY

Possible statuses: queued, working, completed, needs_human, failed, cancelled. A reply appears in answer. Use DELETE on the same path to cancel a pending task. Tasks expire within seven days.

The keyed enquiry interface handles enquiries and draft next steps. It does not send messages, book appointments, purchase services or authorize other external actions.

Request limits and privacy

ScopeLimit
Application requests per IP120 per minute
Requests per bot key60 per minute
New tasks per visitor key5 per minute; 20 pending

Limits use UTC clock-minute windows. Shared IPs share the IP allowance. On 429, wait for the number of seconds in Retry-After. Do not retry continuously.

Request activity, including IP/location and device information, is recorded privately for up to thirty days. Enquiries and replies may be reviewed by Brandon and are available for up to seven days.