LotsBusiness

API Documentation

RESTful API documentation for developers

Quick Info
Base URL
https://api.lots.business
Authentication

API Key (Bearer token or X-API-Key header)

Total Endpoints

173

Getting Started

Authentication

All API requests require authentication using an API key. You can create an API key from your dashboard.

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.lots.business/api/v1/lotsbusiness/businesses/:business_id/support-access

support

POST
/api/v1/lotsbusiness/businesses/:business_id/support-access

Grant Support Access

grant_support_access

Let LotsTech support (support@lotstech.com) into one business for a limited time so they can look at a problem and fix it. Support joins as Admin and can never change billing, payments, the owner or the team. Without confirmed: true it changes nothing and returns the consent text; grant only after the person has read it and said yes. duration is 24h, 7d (default) or 30d. may_publish (default false) lets support publish fixes live. Granting again while access is on changes the end time. It opens a support case for the person.

GET
/api/v1/lotsbusiness/businesses/:business_id/support-access

List Support Access

list_support_access

Whether LotsTech support has access to this business, until when, and what support did there. available false means support access is not set up yet.

DELETE
/api/v1/lotsbusiness/businesses/:business_id/support-access

Revoke Support Access

revoke_support_access

End LotsTech support's access to this business now. Support leaves the team at once.

agency

POST
/api/v1/lotsbusiness/handovers/:token/accept

Accept Business Handover

accept_business_handover

For the client: accept a hand-over into one of your workspaces (personal by default). The business and its linked apps move to you in one step; `moves` says what moved and what waits. Your own plan or credits pay for them from now on.

DELETE
/api/v1/lotsbusiness/businesses/:business_id/handovers/:handover_id

Cancel Business Handover

cancel_business_handover

Cancel a pending hand-over.

POST
/api/v1/lotsbusiness/businesses/:business_id/approval-links

Create Approval Link

create_approval_link

Create a link the client can open without an account to review the website draft (scope site), the business details (profile) or both (all), and approve or ask for changes. The website preview is frozen when you ask: the section editor's draft as it is now, or the latest saved version for a site made of files (or the version you give). It also shows on the business's client page (create_client_link). Valid 14 days by default. Nothing is published by the client's answer.

POST
/api/v1/lotsbusiness/businesses/:business_id/client-link

Create Client Link

create_client_link

Make the client page link of this business (one per business, works 90 days). Send the url to the client: with no account they approve or ask for changes on the LotsSocial posts of the linked brand (link_social_brand) and on website or business details checks (create_approval_link), and can change an answer until you act. Approved posts go out on their schedule; website answers are recorded only, you publish. With client_email the client gets a daily email when something new waits. The page shows your agency's name and logo when your plan includes branding (set_agency_branding), else a neutral page. rotate: true replaces the current link (the old one stops working at once). Owners, admins and managers.

POST
/api/v1/lotsbusiness/businesses/:business_id/client-reports

Create Client Report

create_client_report

Make a client report now for any period: today, yesterday, last_7_days, last_week (Monday to Sunday), this_month, last_month, or custom with start_date and end_date (up to 366 days, ending today at the latest), in the business's time zone. It is compared with the period before of the same length (a whole month with the month before) and becomes a read-only page with the agency's name and logo; the link lasts 90 days and can be renewed. Website numbers are kept about 3 months and taps from when counting started, so older ranges say so instead of showing 0. send_to_client: true also emails it to the client's addresses at once (owners and admins). Up to 30 a business a day. Owners, admins and managers of the business.

POST
/api/v1/lotsbusiness/businesses/:business_id/handovers/finish

Finish Business Handover

finish_business_handover

After a hand-over: move the linked apps that had to wait, for example once the client added credits or a plan in that app, or disconnected a social account they already had. Changes nothing when nothing waits. The new owner (owner or admin) or the agency they kept (manager).

GET
/api/v1/lotsbusiness/workspaces/:workspace_id/branding

Get Agency Branding

get_agency_branding

How an agency workspace appears to its clients: display name, logo, accent colour, reply-to email and website; eligible says whether client pages show them (the workspace owner has LotsTech for Business or a LotsBusiness Pro or Business plan), and client_pages is exactly what client pages show now. Any member of the workspace.

GET
/api/v1/lotsbusiness/handovers/:token

Get Business Handover

get_business_handover

For the client: what is being handed over (`moves`: each linked app and whether it moves), what they will pay for (`billing`) and the workspaces they can receive it into.

GET
/api/v1/lotsbusiness/businesses/:business_id/client-link

Get Client Link

get_client_link

The client page of this business: one standing link where the client sees what waits for their answer (LotsSocial posts of the linked brand that wait for approval, and website or business details checks from create_approval_link) and answers with no account. Returns the link's status, url (owners, admins and managers), expiry, the client's email for the daily email, whether the page shows your agency branding, and the latest answers. Anyone with access to the business.

GET
/api/v1/lotsbusiness/businesses/:business_id/client-reports

Get Client Reports

get_client_reports

The client reports of a business in an agency workspace: whether they are available (paid business, agency workspace, and LotsTech for Business or a LotsBusiness Pro or Business plan; why_not_text says what is missing), the monthly report settings (on or off, the client's email addresses, whether money amounts show), when this month's report is counted (the 1st) and sent (the 3rd), how many on-demand reports are left today, and the last 20 reports with their status, link and preview link. Anyone with access to the business; links only for owners, admins and managers.

GET
/api/v1/lotsbusiness/businesses/:business_id/approval-links

List Approval Links

list_approval_links

Approval links for a business with each client's decision and comment.

GET
/api/v1/lotsbusiness/businesses/:business_id/handovers

List Business Handovers

list_business_handovers

Hand-overs of a business and their status. A completed one lists `moves`: what each linked app did (moved, stayed with the reason, or waiting; finish_business_handover moves what waits).

GET
/api/v1/lotsbusiness/businesses/:business_id/handovers/preview

Preview Business Handover

preview_business_handover

Before start_business_handover: what moves to the client with the business and what stays, app by app (LotsMail domain, LotsSocial brand with its accounts, posts and media, LotsBlog blog, LotsCRM workspace, LotsInvoice business), with the reason when something stays and how to fix it. Changes nothing. Owners and admins.

GET
/api/v1/lotsbusiness/businesses/:business_id/client-reports/:report_id

Preview Client Report

preview_client_report

One client report exactly as the client sees it (view), as plain text (text), with its status and, for the agency only, agency_notes about numbers that could not be read. report_id "upcoming" shows last month's monthly report while it has not gone out, else this month so far (counted now, not kept). Anyone with access to the business.

DELETE
/api/v1/lotsbusiness/businesses/:business_id/approval-links/:link_id

Revoke Approval Link

revoke_approval_link

Withdraw an approval link.

DELETE
/api/v1/lotsbusiness/businesses/:business_id/client-link

Revoke Client Link

revoke_client_link

Turn off the client page link of this business at once. Answers already given stay. create_client_link makes a new one. Owners, admins and managers.

POST
/api/v1/lotsbusiness/businesses/:business_id/client-reports/:report_id/send

Send Client Report Now

send_client_report_now

Email one client report to the client's addresses now, instead of waiting for the 3rd (a monthly report that is counted and not stopped), or an on-demand report made without emailing. It goes from the agency's name with the agency's reply-to email. Only after the person confirms. Owners and admins of the business.

PUT
/api/v1/lotsbusiness/workspaces/:workspace_id/branding

Set Agency Branding

set_agency_branding

Set how your agency appears to clients on the pages you share with them (the client approval page and the monthly report, as they are released), with no Lots names: display_name, accent_color, reply_to_email (where client replies go), website, and a logo (logo_base64) or remove_logo: true. Only the fields you send change; an empty string clears one. Anyone can save branding, but client pages show it only while the workspace owner has LotsTech for Business or a LotsBusiness Pro or Business plan; until then they show a neutral page with no agency name or logo. Owners and admins of the workspace.

PUT
/api/v1/lotsbusiness/businesses/:business_id/client-reports/settings

Set Client Report Settings

set_client_report_settings

Set the client report for a business: enabled (the monthly report; on by default: on the 1st last month is counted and the agency gets a preview, and on the 3rd it goes to the client unless stopped), recipients (the client's email addresses, up to 5; without one nothing is emailed) and show_amounts (deal values and payments received; off by default). Only the fields you send change. Owners and admins of the business.

POST
/api/v1/lotsbusiness/businesses/:business_id/handovers

Start Business Handover

start_business_handover

Start handing a business (record, website, domains) over to the client's own LotsBusiness account. Its linked apps go with it when the client accepts: the LotsMail domain, the LotsSocial brand, the LotsBlog blog, the LotsCRM workspace (only when no other business uses it) and the LotsInvoice business. Call preview_business_handover first and show the person what moves and what stays. Returns a link for the client and `moves`. The client signs in with that email, picks a workspace that pays for the business, and accepts. keep_agency_access (default true) keeps your agency as manager if the client agrees.

PATCH
/api/v1/lotsbusiness/businesses/:business_id/client-link

Update Client Link

update_client_link

Change the client page link of this business: client_email (who gets the daily email when something new waits; an empty string removes it), client_name, or renew: true (works for 90 days from now). Owners, admins and managers.

PUT
/api/v1/lotsbusiness/businesses/:business_id/client-reports/:report_id

Update Client Report

update_client_report

Change one client report: note (the agency's note to the client, up to 1,000 characters; empty removes it; not after a monthly report was sent), stopped (true stops this month's monthly report so it is not sent; false sends it after all) or extend_link: true (the report's link lasts again from today: 90 days on demand, 400 days monthly). Owners, admins and managers of the business.

workspaces

POST
/api/v1/lotsbusiness/workspace-invitations/accept

Accept Workspace Invitation

accept_workspace_invitation

Accept a workspace invitation with the token from its link. You must be signed in with the invited email.

POST
/api/v1/lotsbusiness/workspaces/:workspace_id/archive

Archive Workspace

archive_workspace

Archive an agency workspace you own once it holds no active businesses (move or archive them first). Nobody can open it until it is restored. Nothing is deleted; the owner can restore it for 30 days with restore_workspace. confirm_name must be the workspace name. Confirm with the person first.

DELETE
/api/v1/lotsbusiness/workspaces/:workspace_id/invitations/:invitation_id

Cancel Workspace Invitation

cancel_workspace_invitation

Cancel a pending workspace invitation.

POST
/api/v1/lotsbusiness/workspaces

Create Workspace

create_workspace

Create an agency workspace that holds client businesses and your team. You become its owner and pay for its businesses.

GET
/api/v1/lotsbusiness/workspaces/:workspace_id

Get Workspace

get_workspace

Get one workspace: members and roles, pending invitations (admins), and its businesses with whether each is paid.

POST
/api/v1/lotsbusiness/workspaces/:workspace_id/invitations

Invite Workspace Member

invite_workspace_member

Invite a teammate to a workspace as admin (manages team and billing), manager (edits every business) or viewer (reads). Returns an accept link valid for 7 days. To give a client access to one business only, use invite_business_member instead.

POST
/api/v1/lotsbusiness/workspaces/:workspace_id/leave

Leave Workspace

leave_workspace

Leave a workspace you are a member of. Owners cannot leave their own workspace.

GET
/api/v1/lotsbusiness/workspaces

List Workspaces

list_workspaces

List the LotsBusiness workspaces you belong to, with your role, how many businesses each holds and how many are paid. Every account has a personal workspace; agencies create more for their team.

POST
/api/v1/lotsbusiness/businesses/:business_id/move

Move Business To Workspace

move_business_to_workspace

Move a business between two workspaces you administer that have the same owner. To give a business to a client, use start_business_handover.

POST
/api/v1/lotsbusiness/workspaces/:workspace_id/restore

Restore Workspace

restore_workspace

Restore an archived workspace within 30 days of archiving it. Owner only. list_workspaces with archived: true lists archived workspaces and how long each can be restored.

PATCH
/api/v1/lotsbusiness/workspaces/:workspace_id

Update Workspace

update_workspace

Rename a workspace. Owners and admins only.

PATCH
/api/v1/lotsbusiness/workspaces/:workspace_id/members/:member_user_id

Update Workspace Member

update_workspace_member

Change a workspace member's role or remove them. The owner cannot be changed. Owners and admins only.

billing

POST
/api/v1/lotsbusiness/businesses/:business_id/activate

Activate Business

activate_business

Make a business a paid unit, which unlocks its website, custom domain, Google Business Profile creation and posts, the directory list and business email. Uses a free place on the workspace owner's plan, or credits. Owners and admins only. go_live does the same with the price shown first, and handles what a payment covers.

POST
/api/v1/lotsbusiness/billing/checkout

Create Checkout

create_checkout

Get a checkout link for a LotsBusiness plan (plan starter|pro|business, cycle annual|monthly; annual by default) or a LotsTech Credits top-up (amount_usd 10 to 1000). Only the workspace owner pays. Give business_id when the payment is to put that business live: after paying, the person comes back to it and it goes live (call go_live with after_payment: true if they come back to you instead). Give the link to the person; never pay for them.

POST
/api/v1/lotsbusiness/businesses/:business_id/deactivate

Deactivate Business

deactivate_business

Stop paying for a business. Its free directory listing stays; its website goes offline and paid features stop. Ask the owner before calling this.

GET
/api/v1/lotsbusiness/billing

Get Billing

get_billing

The workspace owner's LotsBusiness plan or credits, today's funding state, how many businesses are paid, and the plans (Starter 1, Pro 5, Business 25 businesses; yearly is the better price). Defaults to your personal workspace.

POST
/api/v1/lotsbusiness/billing/go-live

Go Live

go_live

Put a business live: its website can be published, and its Google Business Profile, business email and custom domain unlock. A new business is a private draft until then (its website preview carries a Draft bar). Without confirm, answers how it would go live and the price: a free place on the plan, LotsTech Credits, or a checkout to pay (create_checkout with business_id). Tell the owner and only with their yes call again with confirm: true. After a payment, call with after_payment: true: when the plan covers every business that is not live yet, all of them go live; when it covers fewer, the answer lists them (to_choose) and the owner picks, then call with business_id and confirm: true. Owners and admins only.

businesses

POST
/api/v1/lotsbusiness/businesses/:id/media

Add Business Photo

add_business_media

Attach a photo or video URL to a business you own. Upload the file first; only the resulting URL is stored.

POST
/api/v1/lotsbusiness/businesses/:business_id/archive

Archive Business

archive_business

Archive a business you own instead of deleting it. It stops being paid (its website goes offline), leaves the directory and nobody can open it. Nothing is deleted, and the owner can restore it for 30 days with restore_business. Owner only. Confirm with the person first; confirm_name must be the business name.

POST
/api/v1/lotsbusiness/businesses/autofill

Autofill A Business From Its Website

autofill_business_from_url

Read a business's own website and return the facts it states (name, description, phone, email, address, hours from schema.org), each with its source. Saves nothing: create_business or update_business with the values the owner confirms.

POST
/api/v1/lotsbusiness/businesses

Create Business

create_business

Add a business you own. It starts as a private draft: build its website with build_site_with_ai (paid from LotsTech Credits while it is a draft) and put it live with go_live. Set business_type to physical, service_area or online; an online business stores no street address at all. Pass city_slug to attach it to a known city. The public LotsBusiness directory listing is off unless list_in_directory is true; then it goes up at once when it has a name, at least one category and a country (and a city for a storefront), otherwise it waits for review and listing_review names what is missing (name, category, country, city, test, links). An account can hold 2 businesses that are not live yet (NOT_LIVE_LIMIT): put one live with go_live or archive one first.

GET
/api/v1/lotsbusiness/businesses/:id/analytics

Get Business Analytics

get_business_analytics

Daily views, clicks, calls and direction requests for a business you own.

GET
/api/v1/lotsbusiness/businesses/:id

Get My Business

get_my_business

Get the full record of a business you own, including categories, service areas, media and its directory listing (off, on, in_review, held or rejected).

GET
/api/v1/lotsbusiness/me/businesses

List My Businesses

list_my_businesses

List every business you own, with status, claim state, completeness score, whether it is indexable, whether it is live (live) and its directory listing (off, on, in_review, held or rejected).

POST
/api/v1/lotsbusiness/businesses/:id/updates

Post Business Update

add_business_update

Post a short update or announcement on a business you own.

POST
/api/v1/lotsbusiness/businesses/:business_id/restore

Restore Business

restore_business

Restore an archived business within 30 days of archiving it. Owner only. It comes back as a free listing with its earlier directory status; make it paid again (activate_business) for its website and paid tools. list_my_businesses with archived: true lists archived businesses and how long each can be restored.

PUT
/api/v1/lotsbusiness/businesses/:id/faqs

Set Business FAQs

set_business_faqs

Replace the FAQ list on a business you own. Pass the complete list: it overwrites what is there.

PATCH
/api/v1/lotsbusiness/businesses/:id

Update Business

update_business

Update the business record: name, type, contact details, address (physical only), city, categories, descriptions, time zone ("auto" takes it from the address), logo and cover. list_in_directory true or false switches the public directory listing on or off (owners and admins); a listing held for review or rejected cannot be switched (LISTING_HELD). Prefer set_business_hours for hours, special hours and timezone, set_business_links for social profiles and the booking link, and set_business_services for services.

contact

POST
/api/v1/lotsbusiness/businesses/:business_id/contact-recipients

Add Contact Recipient

add_contact_recipient

Send website messages to another address (up to 3). The address must confirm by a link first. Without any, messages go to the business email, or the workspace owner.

PUT
/api/v1/lotsbusiness/businesses/:business_id/crm-link

Link CRM Workspace

link_crm_workspace

Send this business's website messages into a LotsCRM workspace as well as by email: each sender becomes a lead contact (or is matched by email or phone) with the message on their timeline. Give workspace_id to link (you need write access to that LotsCRM workspace; messages are written as you), or unlink: true to stop.

GET
/api/v1/lotsbusiness/businesses/:business_id/contact-messages

List Contact Messages

list_contact_messages

Messages sent through the website's contact form, newest first (spam hidden unless status=spam).

DELETE
/api/v1/lotsbusiness/businesses/:business_id/contact-recipients

Remove Contact Recipient

remove_contact_recipient

Stop sending website messages to an address.

PATCH
/api/v1/lotsbusiness/businesses/:business_id/contact-messages/:message_id

Update Contact Message

update_contact_message

Mark a contact message read, archived, spam or new.

websites

POST
/api/v1/lotsbusiness/businesses/:business_id/site/blog

Add Site Blog

add_site_blog

Give the business's website a blog at /blog: a new LotsBlog blog made for the business (its name, logo, colour and facts carried over), or connect a LotsBlog blog the person already owns (blog_id). The blog shows at /blog, each post at /blog/<post>, with the blog's feed and sitemap, on the website's own domain and its lotssite address, wearing the website's header and footer; the website's sitemap lists it, and a Blog link is added to the header in the draft (live after the next publish; header_link: false skips it). Without confirm: true nothing changes: the answer shows the blog already connected (if any), the person's LotsBlog blogs and which can be connected, and LotsBlog's own price (plans, or credits per blog a month; LotsBusiness adds nothing). Tell the owner the price, and only with their yes call again with confirm: true. remove: true disconnects the blog from the website; the blog and its posts stay in LotsBlog. Posts are written with LotsBlog's tools (create_blog_post) as usual. Needs a paid business and an owner, admin or manager; connecting an existing blog needs its owner in LotsBlog.

POST
/api/v1/lotsbusiness/businesses/:business_id/site/ai-build

Build Site With AI

build_site_with_ai

Build the business's website with AI from its details and the owner's short interview answers (or, with instruction, make one change to the draft). To move an existing website to LotsBusiness, send from_website (their current address) or report_id (their website report from get_website_report): the builder reads the home page and up to 5 main pages and rebuilds the site in the section model with their own words, fixing what the report found; it is a rebuild, not a copy of the old design, and phone numbers and emails always come from the business record. get_build_status then shows from_site (the pages read) and, for a report, before_after (what the new draft does about each check). Designed inside the section model, checked automatically (phones, colours, facts from the record, nothing invented, no placeholder text, a working contact form), and saved as the draft with a private preview; the live site changes only when the owner publishes. Takes a few minutes: follow it with get_build_status. Each live business gets free AI builds and AI edits every month (3 builds and 20 edits on a plan, 1 build and 5 edits when paid with credits). A business that is not live yet builds its draft from LotsTech Credits only, and its private preview shows a Draft bar and lasts 1 hour; it goes live with go_live. Beyond that, a build costs 200 LotsTech Credits and an AI edit 50 ($1 = 1,000 credits), charged once when it starts and refunded automatically if it fails without producing a draft: the call first answers CREDITS_CONFIRMATION_REQUIRED with the price and the balance; tell the owner both, and only with their yes call again with confirm_credits: true. Not enough credits answers INSUFFICIENT_CREDITS with a top-up link (create_checkout with amount_usd). Replacing an existing draft needs replace_draft: true; ask the owner first.

POST
/api/v1/lotsbusiness/sites/:site_id/check

Check Site

check_site

Run the quality and safety check on a version (latest by default). Errors block publishing; warnings are advice.

POST
/api/v1/lotsbusiness/sites/:site_id/uploads/complete

Complete Site Upload

complete_site_upload

Finish a direct upload after the PUT to upload_url: checks the stored file's size, SHA-256 and type and the business's upload budget, then returns the blob to add to create_site_version as {path, blob}. A file that does not match is removed.

POST
/api/v1/lotsbusiness/sites/:site_id/domains

Connect Site Domain

connect_site_domain

Connect a domain the owner already owns (e.g. www.example.com). Returns the one DNS record they add. Then poll get_site_domain_status. Owners and admins; paid businesses only.

POST
/api/v1/lotsbusiness/businesses/:business_id/site

Create Site

create_site

Create the business's website on its LotsBusiness address (<name>.lotssite.com). Optionally start from a kit (from_kit) with a theme; otherwise write every file yourself with create_site_version. Requires a paid business. Idempotent: returns the existing site.

POST
/api/v1/lotsbusiness/sites/:site_id/uploads

Create Site Upload

create_site_upload

Start an upload of a big site file (an image up to 10 MB, a PDF or font up to 10 MB, a video in mp4 or webm up to 50 MB). Either give source_url (a public https link to the file: LotsBusiness fetches it and stores it, nothing passes through the chat; for chat agents that cannot send files) and get the blob back at once, or give its path, exact size in bytes and SHA-256 to get upload_url and headers: PUT the bytes there yourself, then call complete_site_upload. already_uploaded: true means the site holds those bytes; skip the PUT. Text files go in create_site_version as content.

POST
/api/v1/lotsbusiness/sites/:site_id/versions

Create Site Version

create_site_version

Save a new draft version of the site and get its check result and a private preview_url. files: [{path, content}] for text files, [{path, blob}] for images from upload_site_image and files from complete_site_upload. With base_version, unchanged files carry over and you send only what changed (delete_paths removes files). Nothing goes live until publish_site.

POST
/api/v1/lotsbusiness/sites/:site_id/texts

Edit Site Texts

edit_site_texts

Change editable texts by key (from get_site_editables). Creates a new draft version with a preview; publish it to go live.

POST
/api/v1/lotsbusiness/sites/:site_id/export

Export Site

export_site

Download a version (live by default) as a zip. Returns a link valid for one hour.

GET
/api/v1/lotsbusiness/businesses/:business_id/site/ai-build

Get Build Status

get_build_status

Where an AI website build is (designing, fixing what the checks found, ready), which checks passed, whether the AI design or the ready-made base design was used, the private preview link, the real cost of the build, its credits (charged, refunded), whether the business is live (a business that is not live builds from credits only), its free AI builds and edits left this month and, once they are used, the price of the next one in LotsTech Credits with the balance (allowance.credits), the interview questions for build_site_with_ai, and for a website moved with from_website or report_id: from_site (the address and pages read) and before_after (each check of the report: before, after fixed, good, next_step or not_yet, and how); moved_from names the website the business was last moved from, also after later AI edits. Moves an unfinished build forward.

GET
/api/v1/lotsbusiness/businesses/:business_id/site

Get Site

get_site

The business's website: address, live and latest version, recent versions with check results, connected domains, kit and theme.

GET
/api/v1/lotsbusiness/sites/:site_id/analytics

Get Site Analytics

get_site_analytics

Page views by day, top pages and top referrers (cookieless) for up to 90 days.

GET
/api/v1/lotsbusiness/sites/:site_id/content

Get Site Content

get_site_content

The website as structured content: settings and design, pages, and the sections of each page with their fields, plus outline (each page, then its sections by name and type; custom sections list their editable fields). Returns the saved draft, or for a site without one the site converted to sections (saved: false; nothing changes until update_site_content). revision is what to send as base_revision. live_matches_draft says whether the live site shows this draft. restore_point is the last import or AI build that undo_edits goes back to.

GET
/api/v1/lotsbusiness/sites/:site_id/domains

Get Site Domain Status

get_site_domain_status

Status of the site's domains and their certificates, with the DNS record each needs. The first domain to go active becomes the primary address.

GET
/api/v1/lotsbusiness/sites/:site_id/editables

Get Site Editables

get_site_editables

The editable text regions (data-lb-edit) of a version, for changing texts without code.

GET
/api/v1/lotsbusiness/sites/:site_id/file

Get Site File

get_site_file

Read one file of a version (latest by default).

GET
/api/v1/lotsbusiness/sites/:site_id/files

Get Site Files

get_site_files

List the files and pages of a version (latest by default). Read before editing.

GET
/api/v1/lotsbusiness/sites/guide

Get Site Guide

get_site_guide

Read this before building or redesigning a website. Without topic: the build loop, live-fact markers (data-lb), what blocks publishing, the starter kits and limits, and the index of the premium website skill (a design process for a unique site per business: discovery, brief, art direction, motion, build, look and critique, quality gate). With topic: that part of the skill in full (start with "skill", then the reference it points to).

GET
/api/v1/lotsbusiness/website-reports/:report_id

Get Website Report

get_website_report

One website report, from run_website_report or list_website_reports. Reports are kept 7 days.

POST
/api/v1/lotsbusiness/sites/:site_id/import

Import Static Site

import_static_site

Turn a static website (plain HTML pages, one site.css, one site.js, its files) into this website's DRAFT made of custom sections, so it looks the same and stays editable section by section. Pages follow the static contract: header elements marked data-lb-shared="header", footer elements data-lb-shared="footer", every section a top-level element with data-section-name="Hero"; facts marked with data-lb (phone, whatsapp, email, address parts). Send the text files in files ([{path, content}] or [{path, source_url}] to have LotsBusiness fetch the file exactly from a public https address: .html, .css, .js, .svg, .json, .webmanifest, .txt, .xml) and every other file (pictures, fonts, videos, PDF) in blobs ([{path, blob}] uploaded first with upload_site_image or create_site_upload, or [{path, source_url}] fetched for you, up to 100 a call). Texts, pictures, links and repeating cards are marked editable on the way in (mark_fields: false keeps the markup untouched). Nothing goes live: check it with preview_site_content and publish with publish_site_content. A local helper does all of this from a folder: scripts/lotsbusiness-import-static.mjs.

GET
/api/v1/lotsbusiness/site-section-types

List Site Section Types

list_site_section_types

The section kinds a LotsBusiness website is built from (top banner, about, services, photos, numbers, reviews, questions, contact, hours, map, call to action, team, prices or menu, text, custom markup), their variants and fields, the live facts a field can show, and the limits. Read it before writing site content. Includes the custom section (any design: its own markup with marked fields, CSS and script) and the edit ops.

GET
/api/v1/lotsbusiness/sites/:site_id/versions

List Site Versions

list_site_versions

Version history with source, message, check summary and which one is live.

GET
/api/v1/lotsbusiness/sites/kits

List Starter Kits

list_starter_kits

Industry starter kits (salon, clinic, restaurant, trades, professional, agency) with their default theme and pages.

GET
/api/v1/lotsbusiness/website-reports

List Website Reports

list_website_reports

The owner's website reports from the last 7 days, newest first, with how many free reports are left (limits).

POST
/api/v1/lotsbusiness/sites/:site_id/preview

Preview Site

preview_site

Get a fresh private preview link for a version (latest by default), valid for 7 days and never indexed. Share it with the owner before publishing.

POST
/api/v1/lotsbusiness/sites/:site_id/content/preview

Preview Site Content

preview_site_content

Render the website draft (or the site converted to sections when there is no draft) to a private preview link with the live facts filled in, valid for 7 days and never indexed, plus the page check. Publishes nothing and creates no version. include_html also returns the rendered files.

POST
/api/v1/lotsbusiness/sites/:site_id/publish

Publish Site

publish_site

Make a version live (latest by default) on the site's address and connected domains, within a minute. Refused if the version has check errors. Ask the owner first.

POST
/api/v1/lotsbusiness/sites/:site_id/content/publish

Publish Site Content

publish_site_content

Publish the saved website draft: render it to plain HTML pages, save them as a new version and make it live within a minute. Refused if the page check finds errors. rollback_site returns to any earlier version. Ask the owner first.

DELETE
/api/v1/lotsbusiness/sites/:site_id/domains/:hostname

Remove Site Domain

remove_site_domain

Disconnect a domain from the site.

POST
/api/v1/lotsbusiness/sites/:site_id/rollback

Rollback Site

rollback_site

Make an earlier version live again.

POST
/api/v1/lotsbusiness/website-reports

Run Website Report

run_website_report

A free report on a website the owner already has: can Google find and show it, do ChatGPT and Google AI name the business when asked for its service in its town, does it show on Google Maps, email at its own domain, one clear phone number and town, and a contact form or booking button. Each check says what is wrong in plain words and how to fix it, and next lists only what LotsBusiness can fix for those issues (nothing when all is fine). Give service and town (like plumber, Austin, TX) to include the AI and Google Maps checks; takes about a minute then. 2 new reports per account every 30 days; the same site again within 7 days returns the saved report for free; reports are kept 7 days. Never promise the owner a ranking.

POST
/api/v1/lotsbusiness/sites/:site_id/screenshot

Screenshot Site

screenshot_site

See the website the way visitors do: renders the draft (default when there is one), a saved version or the live site in a real browser at desktop (1440 px), tablet (820 px) and phone (390 px) widths and returns the pictures. full_page scrolls the whole page and returns it in screen-sized pieces; section shows one section. Use it after every build or change, compare the pictures with your design brief, fix and look again. Owners, admins and managers only; limited per business per hour; the same picture is reused for 5 minutes.

POST
/api/v1/lotsbusiness/sites/:site_id/domains/primary

Set Primary Site Domain

set_primary_site_domain

Choose which active domain is the main address (the others redirect to it). hostname null returns to the LotsBusiness address.

GET
/api/v1/lotsbusiness/businesses/:business_id/site/kit-suggestion

Suggest Site Kit

suggest_site_kit

The starter kit that best fits the business's categories and type.

POST
/api/v1/lotsbusiness/sites/:site_id/unpublish

Unpublish Site

unpublish_site

Take the website offline without deleting anything. Owners and admins only; ask first.

PUT
/api/v1/lotsbusiness/sites/:site_id/content

Update Site Content

update_site_content

Save the website draft. Send the whole content (as get_site_content returns it), or changes (a list of edits: update_section, replace_section, add_section, remove_section, move_section, set_field, add_list_item, remove_list_item, move_list_item, update_page, add_page, remove_page, move_page, update_settings; a section by its id or its name, "page/name" when two pages share one), or from_version to restore what a version published from sections showed, or discard: true to go back to what the live site shows, or undo_edits: true to undo every edit since the last import or AI build (the new site stays). Custom sections (type custom: name, html, css, js) hold any design; edit their marked fields with set_field ("title", "programs.1.title") and their lists with the list ops. Only the draft changes: the live site changes on publish_site_content. Phone, email, address, hours, services, photos, questions and reviews always come from the business record: bind text to a fact with {"bind":"phone"} (data-lb="phone" in custom markup) instead of typing it. Never invent reviews, numbers, awards or prices. The answer is small: the new revision, what changed (sections, pages, settings), the page check and live_matches_draft. The draft and its outline are left out unless you send include_content: true (get_site_content returns them any time).

PATCH
/api/v1/lotsbusiness/sites/:site_id

Update Site Settings

update_site_settings

Change the site's settings without touching files: whatsapp_button, call_bar, verification (google, bing, yandex, pinterest, facebook codes), verification_file, analytics (ga4, gtm, meta_pixel, clarity), consent_banner, default_description, share_image, favicon, redirects, announcement, open_badge, map, badge. Also indexable and subdomain. Applies to the live site within a minute.

POST
/api/v1/lotsbusiness/sites/:site_id/theme

Update Site Theme

update_site_theme

For kit sites: change colours, font, sections and pages, or switch kit. Creates a new draft version.

POST
/api/v1/lotsbusiness/sites/:site_id/images

Upload Site Image

upload_site_image

Upload an image for the site from an https image_url (up to 10 MB) or image_base64 (up to 5 MB) (PNG, JPEG, WebP, GIF, AVIF, ICO, SVG; under 300 KB is best). Returns a blob to include in create_site_version. Bigger files, videos (mp4, webm up to 50 MB), PDFs and fonts: create_site_upload.

engagement

PATCH
/api/v1/lotsbusiness/questions/:id

Answer A Question

answer_business_question

Answer a question asked on a business you own. The answer becomes public.

POST
/api/v1/lotsbusiness/businesses/:id/questions

Ask A Business A Question

ask_business_question

Ask a public question on a business profile. The owner is notified and can answer.

POST
/api/v1/lotsbusiness/businesses/:id/upvote

Recommend Business

toggle_business_upvote

Toggle your recommendation on a business. Calling it again removes the recommendation.

google_business

POST
/api/v1/lotsbusiness/businesses/:business_id/google/update/apply

Apply Google Business Profile Update

apply_google_business_update

Apply a change previewed with prepare_google_business_update to the live Google Business Profile, after the person agreed to that exact preview. Only the changed fields are sent to Google. If the profile changed on Google since the preview, nothing is sent and the answer asks for a fresh preview. fields applies only some of the previewed changes.

POST
/api/v1/lotsbusiness/google-business/profiles/:business_id/complete-verification

Complete Google Business Verification

complete_google_business_verification

Submit a verification PIN the owner received for a pending Google verification. Never guess a PIN.

POST
/api/v1/lotsbusiness/google-business/oauth/start

Connect Google Business Profile

start_google_business_oauth

Create a short-lived Google consent URL. Google shows its account chooser, so the owner picks which Google account to connect. Call this when Google is not connected; to switch to a different Google account, disconnect_google_business first. Return the URL to the owner and stop retrying until they finish consent. With business_id, Google returns them to that business's Google tab.

POST
/api/v1/lotsbusiness/businesses/:business_id/google/posts

Create Google Business Post

create_google_business_post

Post an update to the business's Google Business Profile: STANDARD (news, with an image or a button), EVENT (title and dates) or OFFER (title, dates, coupon, terms). One public https image. Buttons: BOOK, ORDER, SHOP, LEARN_MORE, SIGN_UP (with url) or CALL. Ask the owner to approve the text first. Google reviews posts; a rejected post is reported as an error.

POST
/api/v1/lotsbusiness/google-business/profiles

Create Google Business Profile

create_google_business_profile

Create exactly the previously previewed Google profile. Requires the single-use confirmation token returned by preview after the owner explicitly approves that exact data. It is idempotent and must not be retried with a new preview after an uncertain result.

DELETE
/api/v1/lotsbusiness/businesses/:business_id/google/posts

Delete Google Business Post

delete_google_business_post

Delete a post from the business's Google Business Profile. name is the post's resource name from list_google_business_posts. Ask the owner first.

POST
/api/v1/lotsbusiness/google-business/connection/disconnect

Disconnect Google Business

disconnect_google_business

Disconnect your own Google account from LotsBusiness, for example to switch to a different Google account (then call start_google_business_oauth, which shows Google's account chooser). The connection is yours, not one business's: it serves every business you manage here, and posting pauses for each business whose profile posts through it until you connect again. LotsBusiness deletes its stored Google access; the profiles stay on Google and stay linked here. Without confirm: true nothing changes and the answer says what would happen. Ask the person first.

GET
/api/v1/lotsbusiness/google-business/connection

Get Google Business Connection

get_google_business_connection_status

Check whether Google is connected and list only the Google accounts and existing locations available to the signed-in owner. Use this before preparing a new profile and inspect likely duplicates. locations comes from the last read from Google (connection.locations_refreshed_at); pass refresh: true to read it again, for example after someone added your Google account as owner or manager of a profile.

GET
/api/v1/lotsbusiness/google-business/profiles/:business_id

Get Google Business Profile Status

get_google_business_profile_status

Read the persisted creation state and Google Voice of Merchant status for an owner's business, and posting.through: whose Google account posts go through (you, teammate, or nobody when that person no longer has access to the business; then link the profile again with your own account). posting.disconnected is true when the Google account it was linked with was disconnected: connect Google again, or link the profile with your own account. profile.maps_uri is the profile's Google Maps link (null while Google has none yet); the owner manages the profile on Google itself at https://business.google.com/.

POST
/api/v1/lotsbusiness/google-business/profiles/:business_id/verification-options

Get Google Verification Options

get_google_business_verification_options

Ask Google which verification methods are currently eligible. For a service-area business, pass its private verification address only when the owner explicitly supplies it; it is used for Google verification and is never copied to the public LotsBusiness listing.

POST
/api/v1/lotsbusiness/businesses/:business_id/google/link

Link Google Business Location

link_google_business_location

Link a Google Business Profile that already exists to this business, instead of creating a new one. Your connected Google account must be an owner or manager of the profile on Google; LotsBusiness checks this live with Google. Linking the business's current profile again with your own Google account (for example after an agency hand-over, once the agency has made you primary owner on Google) switches its posts and updates to your account; only the owner or an admin can do that. location_name comes from get_google_business_connection_status.

GET
/api/v1/lotsbusiness/businesses/:business_id/google/posts

List Google Business Posts

list_google_business_posts

The latest posts on the business's Google Business Profile, with Google's state (LIVE, PROCESSING, REJECTED).

POST
/api/v1/lotsbusiness/google-business/preview

Preview Google Business Profile

prepare_google_business_profile

Build an immutable, evidence-labelled preview without writing to Google. Only owner listing facts and explicit owner confirmations are accepted. Online-only businesses are rejected. Show the exact preview before asking for confirmation. Listing lat/lng of 0 is not a map pin. If Google cannot geocode a physical address, the preview returns pin_drop_required; parse an owner Maps URL or confirmed pin into latitude and longitude and retry with duplicate_acknowledged=true. If public duplicate search is unavailable, check Google Maps and retry with duplicate_acknowledged=true. Create only with the returned preview_id and confirmation_token within 30 minutes.

POST
/api/v1/lotsbusiness/businesses/:business_id/google/update/preview

Preview Google Business Profile Update

prepare_google_business_update

Preview a change to the Google Business Profile linked to this business: what Google shows now next to what it would become, field by field. Changes nothing. Fields: title, address, map pin (latitude and longitude), categories, regular and special hours, website, phone, service area, description; give only the ones to change, or from_business: true to propose the LotsBusiness listing's own details (name, address, phone, website, hours, description; never the pin). Google checks the change first (validate only); if Google does not let LotsBusiness move the pin of this profile, the answer is GOOGLE_PIN_NOT_ACCEPTED and the pin must be moved on Google itself. warnings says when Google may review a name, address, pin or category change or ask to verify again. Show the person the changes and warnings, then call apply_google_business_update with preview_id and confirmation_token once they agree. The preview lasts 30 minutes.

GET
/api/v1/lotsbusiness/google-business/categories

Search Google Business Categories

search_google_business_categories

Search Google's live category catalog. Never invent a category ID; show the returned exact categories and ask the owner when more than one is plausible.

POST
/api/v1/lotsbusiness/google-business/profiles/:business_id/verify

Start Google Business Verification

start_google_business_verification

Start one of the verification methods returned by Google. Do not choose a delivery destination or method that Google did not return.

business_team

DELETE
/api/v1/lotsbusiness/invitations/:invitation_id

Cancel Business Team Invitation

cancel_business_invitation

Cancel a pending invitation. This does not remove an accepted member.

POST
/api/v1/lotsbusiness/businesses/:business_id/team/invitations

Invite Business Team Member

invite_business_member

Invite a person to assist with a business as admin, manager, or viewer. Never assign ownership through this tool.

GET
/api/v1/lotsbusiness/businesses/:business_id/team

List Business Team

list_business_team

List the owner, team members, roles, and pending invitations for a business the caller can access.

PATCH
/api/v1/lotsbusiness/businesses/:business_id/team/:member_user_id

Update Business Team Member

update_business_member

Change a non-owner team member role or remove the member. Business ownership is handled only through the ownership/claim flow.

claims

POST
/api/v1/lotsbusiness/claims

Claim A Business

claim_business

Claim a business listing that has no owner yet. Verification is by matching email domain, a token on the business website, or manual review. The strongest method your evidence supports is chosen automatically.

GET
/api/v1/lotsbusiness/me/claims

List My Claims

list_my_business_claims

List the claims you have submitted and their current state.

POST
/api/v1/lotsbusiness/claims/:id/verify

Verify A Claim

verify_business_claim

Check whether the verification token is now present on the business website and complete the claim if it is.

domains

POST
/api/v1/lotsbusiness/managed-domains/:domain_id/confirm

Confirm Domain Records

confirm_domain_records

After the person checked every imported record: copy them into our DNS (mail first), keep a snapshot to roll back to, and give the nameserver step. When the domain is in LotsTech's own registrar account we switch the nameservers ourselves; otherwise the person changes them at their registrar (two nameservers, shown in nameserver_step). Ask the person first. Owners and admins.

POST
/api/v1/lotsbusiness/businesses/:business_id/domains/connect

Connect Existing Domain

connect_existing_domain

Manage a domain the person already owns elsewhere: we read its current DNS (every common name, mail, text and certificate records, and the zone file they paste, which public DNS cannot fully list) into a list to confirm. Nothing changes until they confirm with confirm_domain_records. The domain stays at its registrar; once the nameservers switch to us, the website (and business email if asked) connect by themselves. Owners and admins.

POST
/api/v1/lotsbusiness/managed-domains/:domain_id/records

Edit Domain Records

edit_domain_records

Add, change or remove DNS records of a connected domain (up to 50 at once; a snapshot is kept first). Records a product depends on (the website, business email) cannot be removed; an SPF can gain senders but keeps the ones a product needs. Changes reach the internet within minutes: confirm with the person first. Owners and admins.

GET
/api/v1/lotsbusiness/businesses/:business_id/domains

Get Domain Status

get_domain_status

Domains of a business: in connected_domains, the ones connected for management (imported records to confirm, the nameserver step, products connected), and in domains any registered through LotsBusiness earlier, with the date each is registered until. domain_id shows one connected domain.

GET
/api/v1/lotsbusiness/managed-domains/:domain_id/records

List Domain Records

list_domain_records

Every DNS record of a connected domain in plain words, which product uses each one (those are protected), and the snapshots to roll back to.

POST
/api/v1/lotsbusiness/domains/:order_id/transfer

Request Domain Transfer

request_domain_transfer

Ask to move a domain registered through LotsBusiness (listed in get_domain_status domains) to another provider. Records the request; our team emails the owner the transfer code and steps (registries allow a move 60 days after registration). Business owner only.

POST
/api/v1/lotsbusiness/managed-domains/:domain_id/restore

Restore Domain Records

restore_domain_records

Roll a connected domain's DNS back to a snapshot (default: the records as imported). Records products depend on stay unless remove_product_links is true (that also disconnects the website and email from the domain). original_nameservers puts the old nameservers back (by API for LotsTech's own registrar account, otherwise it returns the step). Ask the person first. Owners and admins.

business_record

DELETE
/api/v1/lotsbusiness/businesses/:business_id/media/:media_id

Delete Business Media

delete_business_media

Remove one photo or video from the business.

GET
/api/v1/lotsbusiness/businesses/:business_id/completeness

Get Business Completeness

get_business_completeness

What the record still needs for a good website, a Google Business Profile, directory listings and AI assistants (ai_assistants: a description of what and where, service descriptions and prices, 3 or more answered FAQs, areas served, real reviews, a linked Google profile, a published website). Ask the owner only for what is listed as missing; never invent it.

GET
/api/v1/lotsbusiness/businesses/:business_id/media

List Business Media

list_business_media

List the business's photos, logo, cover and videos in display order.

GET
/api/v1/lotsbusiness/businesses/:business_id/services

List Business Services

list_business_services

List the business's services in display order.

PUT
/api/v1/lotsbusiness/businesses/:business_id/media/order

Reorder Business Media

reorder_business_media

Set the display order of the business's media by listing their ids in order.

PUT
/api/v1/lotsbusiness/businesses/:business_id/hours

Set Business Hours

set_business_hours

Set weekly opening hours, special hours (holidays, closures, one-off times) and the timezone. The website, schema and llms.txt update within a minute, with no new site version. hours: {"mon":[{"open":"09:00","close":"17:30"}], ...}; a missing day is closed. special_hours: [{"date_from":"2026-12-25","date_to":"2026-12-25","closed":true}].

PUT
/api/v1/lotsbusiness/businesses/:business_id/links

Set Business Links

set_business_links

Set social profile links (facebook, instagram, x, linkedin, youtube, tiktok, pinterest, threads, bluesky, whatsapp, yelp, tripadvisor, google), the booking link and the website URL. Empty values clear a link.

PUT
/api/v1/lotsbusiness/businesses/:business_id/services

Set Business Services

set_business_services

Replace the business's list of services, in display order, with optional prices (price, optional price_max for a range, currency, price_note like 'from') and durations. Only real services and prices the owner confirmed.

discovery

GET
/api/v1/lotsbusiness/public/category/:category/in/:city

Find Businesses In A City

find_businesses_in_city

Find businesses of a given category in a given city, for example plumbers in chennai. Matches businesses based in the city and those that declare it as a service area.

GET
/api/v1/lotsbusiness/public/businesses/:slug

Get Business

get_business

Get the full public profile of one business by slug: contact details, location, hours, categories, media, service areas and rating summary.

GET
/api/v1/lotsbusiness/public/categories/:slug

Get Business Category

get_business_category

Get one category by slug, including its child categories.

GET
/api/v1/lotsbusiness/public/collections/:slug

Get Collection

get_business_collection

Get one collection by slug with the businesses in it.

GET
/api/v1/lotsbusiness/public/locations/:slug

Get Location

get_location

Get one location by slug, with its parent and children. US city slugs carry a state suffix (austin-tx); Indian city slugs do not (chennai).

GET
/api/v1/lotsbusiness/public/categories

List Business Categories

list_business_categories

List every business category, with parent/child structure and how many businesses each holds.

GET
/api/v1/lotsbusiness/public/businesses

List Businesses

list_businesses

Browse published businesses in the Lots Business directory. Filter by category, city, country, business type or price range. Business types are physical (customers visit an address), service_area (travels to the customer) and online (no customer-facing premises).

GET
/api/v1/lotsbusiness/public/collections

List Collections

list_business_collections

List curated collections and city guides.

GET
/api/v1/lotsbusiness/public/locations

List Locations

list_locations

List countries, states or cities in the directory. Filter by type and country code (IN, US).

GET
/api/v1/lotsbusiness/public/search

Search Businesses

search_businesses

Search businesses, categories and cities by keyword. Use for autocomplete or when the exact slug is unknown.

ai_visibility

GET
/api/v1/lotsbusiness/businesses/:business_id/ai-visibility

Get AI Visibility

get_ai_visibility

Found by AI: whether a business is named when someone asks AI for its service in its town, such as "What is the best renovation designer in Wellington?". Each check asks ChatGPT as a logged-out person sees it (8 questions: 6 the same every week, 2 that change weekly), and makes two Google searches from the business's location, reading the AI Overview (when Google shows one), the map results and Google AI Mode. Returns what is asked (business name, website domain, service and town; defaults from the business's category and city), the last 4 weeks in total (rolling: named in how many answers, per engine, and in how many map results), the latest check (the questions and searches, each engine's answers: named or not, its place in the list, the businesses named instead, whether the business's own website was cited; the map results; the date), the last 8 checks, the weekly check (on or off, next date, waiting while its answers come in) and how many "check now" runs are left this month, and next_steps: up to 5 plain steps from the latest check, its answers and the record (each with where: website, details, google or directories); act on them with the owner. Paid businesses only (why_not_text says what is missing). Anyone with access to the business.

POST
/api/v1/lotsbusiness/businesses/:business_id/ai-visibility/checks

Run AI Visibility Check

run_ai_visibility_check

Check now whether AI names the business: ChatGPT (8 questions about its service in its town, as a logged-out person sees it), two Google searches from the business's location (the AI Overview and the map results) and Google AI Mode; the answers are read for the business's name and website (about a minute, at most about 3). Returns the result as get_ai_visibility does, with check set to this run. Up to 4 a month per business on top of the weekly check; a check that fails is not counted; one at a time. service and town, when given, are saved first (as set_ai_visibility_settings). Paid businesses only. Owners, admins and managers of the business.

PUT
/api/v1/lotsbusiness/businesses/:business_id/ai-visibility/settings

Set AI Visibility Settings

set_ai_visibility_settings

Change what Found by AI asks about a business: service (what it does, as a buyer would say it, such as "renovation designer"; empty goes back to the business's category) and town (such as "Wellington, New Zealand"; empty goes back to the business's city), and auto_weekly (the automatic check once a week; on by default once the business is set up). Only the fields you send change. Saving with the weekly check on starts it soon if no check ran in the last week. Owners, admins and managers of the business.

email

GET
/api/v1/lotsbusiness/businesses/:business_id/email

Get Business Email Status

get_business_email_status

Business email setup status: domain, ownership, funding, receiving and sending setup, and the records still needed.

POST
/api/v1/lotsbusiness/businesses/:business_id/email

Set Up Business Email

setup_business_email

Set up business email (LotsMail) on the business's own domain, included with a paid business. Needs the website's own domain connected first. When we run the domain's DNS (connected with connect_existing_domain) we add every mail record, verify the domain, turn receiving on and create contact@ ourselves: nothing for the owner to add (managed: true). A connected domain that receives email elsewhere today stays sending only until you call this again with receiving: true. On any other domain it returns the TXT record that proves ownership, and the rest is finished in LotsMail.

POST
/api/v1/lotsbusiness/businesses/:business_id/email/verify

Verify Business Email

verify_business_email

Check the ownership TXT record for the business's email domain after the owner adds it. On a domain whose DNS we run it also runs the next setup step now (records, verification, receiving).

linked_apps

GET
/api/v1/lotsbusiness/businesses/:business_id/linked-apps

Get Linked Apps

get_linked_apps

Every app linked to this business, in one answer: the LotsCRM workspace that receives website messages, the LotsMail email domain, the LotsBlog blog at /blog, the Google Business Profile, the LotsSocial brand and the LotsInvoice business. found: false marks a link whose record was removed or archived. include_options: true also lists the LotsSocial brands and LotsInvoice businesses you can link, and suggests a LotsSocial brand with the business's name for a client business in an agency workspace; nothing is linked until the person confirms. Anyone with access to the business.

PUT
/api/v1/lotsbusiness/businesses/:business_id/linked-apps/lotsinvoice

Link Invoice Business

link_invoice_business

Link this business to its LotsInvoice business, so the client's records in both apps stay together (the monthly report will read this link). Give invoice_business_id (LotsInvoice list_businesses; you must be its owner or an editor), or unlink: true to remove the link (nothing changes in LotsInvoice). One per business: linking another replaces it. Owners and admins of the business.

PUT
/api/v1/lotsbusiness/businesses/:business_id/linked-apps/lotssocial

Link Social Brand

link_social_brand

Link this business to its LotsSocial brand, so the client's records in both apps stay together (the client approval page and the monthly report will read this link). Give brand_id (LotsSocial list_brands; you must be an owner, admin or manager of the brand's workspace), or unlink: true to remove the link (the brand itself does not change). One brand per business: linking another replaces it. Owners and admins of the business.

directories

GET
/api/v1/lotsbusiness/businesses/:business_id/listing-pack

Get Listing Pack

get_listing_pack

Everything a directory asks for, worded the same way every time (name, phone, address or service area, website, categories, descriptions of 80/160/750 characters, hours, services, photos), built only from the record, plus what is missing.

GET
/api/v1/lotsbusiness/businesses/:business_id/directories

List Business Directories

list_business_directories

The audited local directories that fit this business (its country and trade), with how to submit to each and this business's progress. The owner or agency submits; give them the listing pack.

GET
/api/v1/lotsbusiness/businesses/:business_id/directory-submissions

List Directory Submissions

list_directory_submissions

This business's directory progress, newest first.

PUT
/api/v1/lotsbusiness/businesses/:business_id/directories/:directory_id

Record Directory Submission

record_directory_submission

Track progress on one directory: not_started, in_progress, needs_action, submitted, live (with listing_url), rejected or skipped, with notes.

account

GET
/api/v1/lotsbusiness/me/profile

Get My Profile

get_business_profile

Your personal LotsBusiness member profile (display name, bio, avatar), not a business. For a business use get_my_business.

GET
/api/v1/lotsbusiness/me/notifications

List Notifications

list_business_notifications

List your LotsBusiness notifications: claim outcomes, questions and order updates.

PATCH
/api/v1/lotsbusiness/me/profile

Update My Profile

update_business_profile

Update your personal LotsBusiness member profile (display name, bio, avatar). Not the business record: use update_business for that.

reviews

GET
/api/v1/lotsbusiness/public/businesses/:slug/reviews

List Business Reviews

list_business_reviews

List published reviews for a business, with the owner reply where one exists. Only reviews that passed moderation are returned.

GET
/api/v1/lotsbusiness/me/reviews

List My Reviews

list_my_business_reviews

Reviews you have written about other businesses. For the reviews of a business you own, use list_business_reviews with its slug.

POST
/api/v1/lotsbusiness/reviews/:id/reply

Reply To A Review

reply_to_business_review

Reply publicly to a review left on a business you own. One reply per review; calling again updates it.

POST
/api/v1/lotsbusiness/reviews

Write A Review

submit_business_review

Write a 1-5 star review of a business. One review per person per business. Every review is checked before it appears publicly, and you cannot review a business you own.

services

GET
/api/v1/lotsbusiness/public/directory-sites

List Directory Submission Targets

list_directory_sites

The public catalogue of business directories LotsBusiness knows about. For the directories that fit one business, with how to submit and its progress, use list_business_directories. LotsBusiness does not submit listings on anyone's behalf.

GET
/api/v1/lotsbusiness/me/orders

List My Orders

list_my_business_orders

Orders for the retired one-time services (placed before 2026-10-18), with their status. New work is done with a paid business: see activate_business.

GET
/api/v1/lotsbusiness/orders/:id

Track My Order

get_my_business_order

One order for the retired one-time services (placed before 2026-10-18). New work is done with a paid business: see activate_business.

admin

POST
/api/v1/lotsbusiness/admin/seed

Seed An Unclaimed Listing (staff)

seed_business_from_url

Staff only. Create an unclaimed listing from a business's own website.