/health) needs a Lanesurf API key in the Authorization header:
- Keys look like
ls_live_…and are sent as a bearer token. - A missing key returns
401 missing_api_key; a wrong or revoked one returns401 invalid_api_key. - Each key can make up to 120 requests per minute on the authenticated
/v1routes (counted on each Lanesurf server, so treat it as the most to send). Over that you get429 rate_limitedwith aRetry-Afterheader. Wait that many seconds, then retry.
What a key can reach
A broker key on a carrier route, or a carrier key on a broker route, gets
403 wrong_role.
Get a key
Carriers and brokerages sign up themselves, in two calls, with no human at Lanesurf involved:POST /v1/signupwithrole(carrierorbroker), a work email and an MC and/or DOT number. Free mail (Gmail, Yahoo, Outlook, Hotmail, Live, MSN, iCloud, me.com, mac.com, AOL, Proton, GMX, Zoho, Yandex and mail.com, including country versions such as yahoo.co.uk or gmx.de) is refused with400 invalid_request(“use your work email”). There is no signup by phone. Lanesurf emails an 8-digit code.POST /v1/signup/{signup_id}/verifywith the code (brokers also sendname,job_titleandcompany_name). The API key comes back once.
next_step: what the agent should do next.
Brokers
Sign up your brokerage. Lanesurf reviews it, then turns on carrier outreach.
Carriers
Verified automatically when your work email matches the carrier’s record; otherwise Lanesurf reviews the account.
Sign in from an AI app
Apps that can’t send an API key, such as ChatGPT and the Claude app, connect tohttps://agent.lanesurf.com/mcp by URL. The app opens a Lanesurf sign-in page, where the person:
- Already a Lanesurf customer: signs in with their Lanesurf dashboard email and password, then enters the code Lanesurf emails, or with Sign in with Google if their dashboard account uses Google. Someone at more than one brokerage picks the brokerage. Lanesurf makes a broker key for them the first time.
- Has an API key: pastes it, then enters the code Lanesurf emails to the address on the key. A key with no email on file can’t sign in here; use it directly instead.
- New carrier or brokerage: signs up on the page with a work email and an MC or DOT number, then enters the 8-digit code Lanesurf emails.
- It follows the MCP authorization spec (OAuth with PKCE and dynamic client registration).
/mcpwithout credentials answers401with aWWW-Authenticateheader pointing at/.well-known/oauth-protected-resource/mcp, which is how the app finds the sign-in page. - Access tokens last 1 hour. The app gets new ones with its refresh token.
- Each sign-in stands for one Agent API key. Revoking that key signs the person out of every app.
- API keys keep working everywhere,
/mcpincluded.
Check a key
GET /v1/me returns who the key belongs to: its role (broker or carrier), and for carriers its
verification: verified or needs_review.