LOCALHOST
All pages
Tools

Connected assistants

Let Claude, ChatGPT or a coding agent work on your account over MCP.

An AI assistant connects to an account over MCP and works within what the account's owner ticked. Every tool calls the public API's own functions, so the API's permissions, ownership checks, prices and refusals are the assistant's too. Nothing an assistant can do is more than a key could.

Connecting one

  1. Add a connector in the assistant with the address https://api.localhost.co.zw/mcp. Claude, ChatGPT, Claude Code, Cursor and anything else that speaks MCP over HTTP works.
    claude mcp add --transport http localhost https://api.localhost.co.zw/mcp
  2. Sign in and choose. The assistant registers itself once and sends you to https://localhost.co.zw/oauth/authorize/. You sign in as usual, pick the account if you have several, and for each area choose Nothing, Look or Look and change. Developers may allow everything but billing; owners and admins money too. There is no "everything" for an assistant.
  3. Set the brakes. On the same screen you choose a monthly spending allowance, and whether stopping, removing and publishing should ask you first (on by default).
  4. Ask in plain words. The Assistants tab lists each connection, what it may do and every action it took. Disconnect ends its tokens at once.

Approvals

Two kinds of call wait for you instead of running: a tool that charges the wallet when its cost is unknown or would take this month past the allowance, and a destructive tool (stop, remove, publish) while that brake is on. The assistant gets status: waiting_for_approval with an approval_id and words to tell you; you get an email and an item on Home and the Assistants tab. Approving runs the very call then; the assistant reads the outcome with check_approval. Approvals expire after a day. Plain API keys never wait: they are your own scripts.

For implementers

Endpoint
POST https://api.localhost.co.zw/mcp: Streamable HTTP, stateless, JSON-RPC 2.0 answered as JSON. GET is 405, DELETE 204. A notification gets 202 and no body; a batch gets a list.
Methods
initialize, ping, tools/list, tools/call. resources/list and prompts/list are empty.
Protocol versions
2025-06-18 · 2025-03-26 · 2024-11-05
Discovery
https://api.localhost.co.zw/.well-known/oauth-protected-resource then https://api.localhost.co.zw/.well-known/oauth-authorization-server.
OAuth 2.1
Dynamic client registration at /oauth/register (open, limited per address), authorization code with PKCE S256, tokens from /oauth/token: an hour-long access token (lha_…) and a 30-day refresh token (lhr_…) replaced on every use. A wrong PKCE verifier burns the code and its connection. /oauth/revoke lets go.
Without a token
401 with WWW-Authenticate: Bearer realm="LOCALHOST", resource_metadata="…". CORS is open on these endpoints; the token is the protection.
A plain key
An API key (lh_…) works as the bearer token on /mcp too, for scripts and agents set up by hand. Those leave no action lines on the Assistants tab; keys have their own audit lines in each app.

Tools

What a connected assistant can do, read from the tool registry. A tool the connection wasn't allowed is still listed to the assistant and refuses with the address of the Assistants page. money tools state their price and ask first; asks first tools wait for approval while that brake is on.

account_overview

any connection

The account you act for: its name, what it has (names, sites, websites, email) and, when allowed, the wallet balance. Start here.

add_client

clients:write

Make a new client account that you manage. You can hand it over to its owner later.

name *
The client's business name
kind
business (default) or personal

add_dns_record

dns:write

Add a DNS record to a zone.

zone *
The name
name
Record name: @ for the zone itself, or a label like www
type *
A, AAAA, CNAME, MX, TXT, SRV, CAA, NS
content *
The value
ttl
Seconds, default 300
priority
For MX and SRV

add_signature_designs

mail:write money

Add Signature designs to an email name: every design, your own HTML and the offer line, charged monthly from the wallet. Charges the wallet: tell the person the price and get a clear yes first.

name *
The email name

add_webhook

webhooks:write

Send partner alerts to an https address. Returns the signing secret once: give it to the person to keep.

url *
https:// address
events
Events to send; none means all
description
What it's for

add_website_section

websites:write

Add a section of a kind from the website's can_add list, after a given section or in its natural place. It starts with sensible words for this business; change them next.

website *
The website's id
type *
A kind from can_add, like services or faq
after
Put it after this section id

ask_support

any connection

Ask LOCALHOST support a question for the person, when something here doesn't work or they want a person. We answer by email and in the panel's chat. Say what was tried and what happened.

subject
A few words
message *
The question

book_names

domains:read

Every name across your clients and your own account, to find what expires soon or what isn't renewing.

client_id
Only this client's (its id from list_clients)
status
Only names in this state, like active
expiring_within
Only names expiring within this many days
q
Part of a name

book_sites

sites:read

Every site and app across your clients and your own account.

client_id
Only this client's (its id from list_clients)
state
Only sites in this state, like running

bulk_names

domains:write money

One change to many names across the book: renew, auto_renew_on, auto_renew_off, lock, unlock or nameservers. Each name succeeds or fails on its own. Renewals are paid from your wallet (pay_from partner) or each client's (client). Charges the wallet: tell the person the price and get a clear yes first.

action *
renew, auto_renew_on, auto_renew_off, lock, unlock or nameservers One of renew, auto_renew_on, auto_renew_off, lock, unlock, nameservers.
names *
The names
nameservers
For action nameservers: the new nameservers
pay_from
partner (default) or client One of partner, client.

cancel_booking

business:write asks first

Cancel a booking. Any money paid is not refunded here (that's in the panel). The customer is told. Waits for the owner's approval unless they switched that off.

website
Which website's business, by its id from list_websites; leave out when the account has one
booking *
The booking's id
reason
Why, in a few words the customer sees

cancel_build

sites:write

Stop a build that is still running. The site keeps what it runs now.

id *
The build's id

cancel_hand_over

clients:write

Withdraw a hand-over that the owner hasn't accepted yet.

id *
The client's id

cancel_order

business:write asks first

Cancel an order that isn't paid (a paid one needs a refund, in the panel). The customer is told. Waits for the owner's approval unless they switched that off.

website
Which website's business, by its id from list_websites; leave out when the account has one
order *
The order's id
reason
Why, in a few words the customer sees

cancel_subscription

billing:write asks first

Stop a subscription renewing. What it pays for keeps working until the paid period ends. Waits for the owner's approval unless they switched that off.

id *
The subscription's id

change_package_level

billing:write money

Move a package to another level now. The difference for the rest of the paid period is charged (or credited back when it's cheaper); the renewal date stays. Charges the wallet: tell the person the price and get a clear yes first.

id *
The package subscription's id
level *
The level to move to

change_website_kind

websites:write

Change what a website is for (a salon becoming a shop). Its sections start again from the new kind's, keeping every section the owner changed or added, their details and look; the business behind it gains the new kind's features. Only the draft changes until publish.

website *
The website's id
kind *
The new kind, from list_website_kinds

check_approval

any connection

The outcome of a call that waited for the owner's approval: waiting, approved (with its result), refused or expired.

approval_id *
The id the waiting call gave you

check_names

domains:read

Whether up to 20 names are free, and what each costs this account a year.

names *
Full names, like yourbusiness.co.zw

check_phone_auth_code

phone_auth:write

Whether the code a person typed is the one a Phone Auth app texted them.

code *
The digits
id
The id send_phone_auth_code gave
phone
Or the number it went to
app
The Phone Auth app's id

check_sms_code

sms:write

Whether the code a person read out is the one texted to them.

code *
The 6 digits
id
The id send_sms_code gave
phone
Or the number it went to

create_database

databases:write money

A new database (Postgres unless MySQL is asked for). Its connection details stay in the panel, or go straight into a site's DATABASE_URL when you name the site (it restarts). Past what the plan includes, one more is a monthly charge: the answer says the price, then call again with add_extra true. Charges the wallet: tell the person the price and get a clear yes first.

name
A short name, optional
engine
postgres (default) or mysql
site
A site's short name to connect it to
add_extra
Agree to pay for one more database each month

create_git_site

sites:write money

A new site that builds and deploys from a Git repository; returns its first build. Billed monthly by size. Charges the wallet: tell the person the price and get a clear yes first.

slug *
Short name: lowercase letters, numbers and dashes
repo *
The repository URL
name
A display name
size
S, M or L; default S
branch
Default main
root_dir
Folder inside the repository, if not the root
dockerfile_path
A Dockerfile to use
access_token
For a private repository

create_mailbox

mail:write

A new mailbox on a name with email on. Its password is never shown to you: the person who'll use it gets a one-time link at another address (password_to) to choose it, valid 48 hours.

address *
The mailbox's address, like sales@example.co.zw
password_to *
Another email address of the person who'll use it, like name@gmail.com
display_name
The name people see, like Sales
quota_mb
Size in MB, within what the plan allows

create_site

sites:write money

Run a container image as a new site or app, billed monthly by size (S, M, L). Charges the wallet: tell the person the price and get a clear yes first.

slug *
Short name: lowercase letters, numbers and dashes
image *
A public container image, like nginx:1.27
name
A display name
port
The port the app listens on, default 80
size
S, M or L; default S
env
Settings the app gets

create_website

websites:write money

A new website for a kind of business (from list_website_kinds), with example sections to change. It isn't live until published. Past what the plan includes, one more is a monthly charge: the answer says the price, then call again with add_extra true. Charges the wallet: tell the person the price and get a clear yes first.

kind *
The kind, from list_website_kinds
name *
The business's name
tagline
A short line about it
whatsapp
WhatsApp number
phone
Phone
city
Town or city
palette
A palette name, optional
fonts
A fonts name, optional
add_extra
Agree to pay for one more website each month

delete_dns_record

dns:write asks first

Remove one DNS record by its id (from list_dns_records). Waits for the owner's approval unless they switched that off.

zone *
The name
record_id *
The record's id

delete_mailbox

mail:write asks first

Delete a mailbox and every message in it. This can't be undone; suspending is the gentler choice. Waits for the owner's approval unless they switched that off.

address *
The mailbox's address, like sales@example.co.zw

delete_shared_setting

sites:write asks first

Remove a setting every site gets. Waits for the owner's approval unless they switched that off.

key *
The setting's name

delete_site_setting

sites:write asks first

Remove one setting from a site. Waits for the owner's approval unless they switched that off.

slug *
The site's short name
key *
The setting's name

delete_webhook

webhooks:write asks first

Stop sending alerts to a webhook and remove it. Waits for the owner's approval unless they switched that off.

id *
The webhook's id

deploy_site

sites:write

Put a new image on a site or app. It restarts with it.

slug *
The site's short name
image *
The container image to run

find_customers

business:read

The business's customers by name, phone or email.

website
Which website's business, by its id from list_websites; leave out when the account has one
q
Part of a name, a phone number or an email
limit
How many, default 25

fund_client

clients:write money

Move money from your wallet into a client's wallet, so their renewals and purchases are paid. Charges the wallet: tell the person the price and get a clear yes first.

id *
The client's id from list_clients
amount *
Dollars, like 20 or 12.50
note
A note for both of you

get_booking

business:read

One booking: who, what, when, with whom, its answers and payment.

website
Which website's business, by its id from list_websites; leave out when the account has one
booking *
The booking's id

get_build

sites:read

One build: its state, what it built, and its log from a line onwards.

id *
The build's id from list_builds
since
Log lines from this one on, default 0

get_client

clients:read

One client by its id from list_clients.

id *
The client's id from list_clients

get_client_pricing

clients:read

Whether your clients see your own prices, and your markup per group of endings.

get_email

mail:read

One name's email: whether it works, each DNS record it needs and whether it's there, warnings about old records, every mailbox, and the settings for phones and computers.

name *
The name, like example.co.zw

get_email_signature

mail:read

One email name's signature: the business details it is made from, its design, every design there is (and which are included), the {placeholders} for your own HTML, and how it looks as HTML and plain text.

name *
The email name, like example.co.zw

get_git_source

sites:read

Where a site builds from: repository, branch or tag pattern, folder, Dockerfile, and whether pushes deploy.

site *
The site's short name

get_invoice

billing:read

One invoice by its number, with its lines.

number *
The invoice number

get_name

domains:read

One name: status, expiry, nameservers, owner details.

name *
The full name

get_name_contacts

domains:read

A name's owner details (registrant) as the registry holds them.

name *
The name

get_name_transfer_code

domains:write asks first

The code that lets another provider take a name away from us. Only for moving it out. Waits for the owner's approval unless they switched that off.

name *
The name

get_order

business:read

One order: what's in it, the customer, delivery or collection, payment and its history.

website
Which website's business, by its id from list_websites; leave out when the account has one
order *
The order's id

get_site

sites:read

One site or app: image, size, state, address and own names.

slug *
The site's short name

get_site_logs

sites:read

The last lines a site or app printed (up to 2000).

slug *
The site's short name
tail
How many lines, default 100

get_sms_campaign

sms:read

One campaign by its id.

id *
The campaign's id

get_website

websites:read

A website's whole draft: business details, look (with the options), every section with its fields and current content, what sections can be added, the checklist and whether it's ready to publish. Read this before changing anything.

website *
The website's id, from list_websites

google_listing

websites:read

Found on Google: which websites and names are on Google, how often they showed up in searches and were visited over 28 days with the top searches, and what could be added.

hand_over_client

clients:write asks first

Offer a managed client account to its owner: they get an email to take it over, and you stop managing it once they accept. Waits for the owner's approval unless they switched that off.

id *
The client's id
email *
The owner's email address

inbox_reach

mail:read

Reaching inboxes: for each name with working email, whether Gmail puts its mail in inboxes, in plain words, with the spam rate and what to fix. Gmail only measures names that send it enough mail; quiet means nothing is wrong.

list_bookings

business:read

Bookings from a day onwards (default today) for a number of days, or by booking number.

website
Which website's business, by its id from list_websites; leave out when the account has one
start
First day, YYYY-MM-DD
days
How many days, default 7, at most 92
number
A booking number instead
cursor
For the next page
limit
How many, default 25

list_builds

sites:read

The builds of a site that deploys from Git, newest first.

site *
The site's short name
limit
How many, default 20

list_business_invoices

business:read

The invoices the business sent its own customers (not the account's bills from us: those are list_invoices), paid or not.

website
Which website's business, by its id from list_websites; leave out when the account has one
status
Only this state, like sent, paid or overdue
cursor
For the next page
limit
How many, default 25

list_clients

clients:read

Every client account you look after or referred: its short name (use it as `client` in other tools), whether you manage it, how many names and sites it has and its wallet balance.

list_commissions

clients:read

Commissions earned from clients you referred.

list_database_tables

databases:read

The tables in one of the account's databases.

database *
The database's name, from list_databases

list_databases

databases:read

The account's databases, with their engine and size.

list_dns_records

dns:read

Every record of one zone.

zone *
The name, like yourbusiness.co.zw

list_dns_zones

dns:read

The names whose DNS we hold for this account.

list_email

mail:read

The account's names with email on (state and how many mailboxes), and the names email could be turned on for.

list_email_signatures

mail:read

Each email name's signature: on or off, its design, whether Signature designs is added.

list_events

business:read

The business's events with dates, tickets sold and what's left.

website
Which website's business, by its id from list_websites; leave out when the account has one
cursor
For the next page
limit
How many, default 25

list_invoices

billing:read

The last 100 invoices.

list_jobs

business:read

The business's jobs (work for customers) with their state and steps.

website
Which website's business, by its id from list_websites; leave out when the account has one
status
Only this state
cursor
For the next page
limit
How many, default 25

list_membership_plans

business:read

The membership plans with their prices and periods.

website
Which website's business, by its id from list_websites; leave out when the account has one

list_memberships

business:read

The business's members and their memberships: plan, state, when it renews or ran out.

website
Which website's business, by its id from list_websites; leave out when the account has one
status
Only this state, like active, due or ended
q
Part of a name or a phone number
cursor
For the next page
limit
How many, default 25

list_names

domains:read

The account's names with status, expiry and renewal.

list_orders

business:read

The shop's or menu's orders, newest first, with number, customer, total, payment and state. Use cursor from the answer for more.

website
Which website's business, by its id from list_websites; leave out when the account has one
status
Only this state, like placed, confirmed, packed, dispatched, delivered, cancelled, returned
cursor
From the last answer, for the next page
limit
How many, default 25

list_phone_auth_apps

phone_auth:read

The account's Phone Auth apps: the id to pass as app, the name in the text, the sender and how long a code is.

list_previews

sites:read

The preview sites a Git site made for its branches or pull requests.

site *
The site's short name

list_products

business:read

The shop's or menu's products with prices, stock and whether each is on sale.

website
Which website's business, by its id from list_websites; leave out when the account has one
q
Part of a name
cursor
For the next page
limit
How many, default 25

list_quote_requests

business:read

What customers asked a quote for through the website, waiting for an answer.

website
Which website's business, by its id from list_websites; leave out when the account has one
cursor
For the next page
limit
How many, default 25

list_quotes

business:read

The quotes sent to customers and whether each was accepted.

website
Which website's business, by its id from list_websites; leave out when the account has one
status
Only this state
cursor
For the next page
limit
How many, default 25

list_shared_settings

sites:read

Settings every site and app of the account gets (a site's own setting of the same name wins). Secret values are masked.

list_site_settings

sites:read

A site's settings (environment variables). Secret values are masked.

slug *
The site's short name

list_sites

sites:read

Every site and app on the account, with its state and address.

list_sms_campaigns

sms:read

The account's campaigns with how many were sent and how many people followed each link.

list_sms_senders

sms:read

The sender names the account may send texts from.

list_subscriptions

billing:read

Everything that renews from the wallet, with its price and next date.

list_support_questions

any connection

The questions the person asked LOCALHOST support, newest first, with whether we answered.

list_transactions

billing:read

Money in and out of the wallet, newest first: top-ups, purchases, renewals, refunds.

limit
How many, default 50, at most 100

list_webhook_deliveries

webhooks:read

The alerts sent to a webhook and how each went.

id *
The webhook's id
status
Only this state: delivered, failed or pending

list_webhooks

webhooks:read

Where your partner alerts are sent and which events each gets, with every event there is.

list_website_kinds

websites:read

The kinds of business a website can be for (shop, restaurant, salon …) and what each gets.

list_websites

websites:read

The websites made with the builder: name, live or not, address, whether the draft has changes to publish.

move_booking

business:write

Mark a booking: confirm, arrived, done, missed (didn't come), or remind (send them a reminder now).

website
Which website's business, by its id from list_websites; leave out when the account has one
booking *
The booking's id
step *
confirm, arrived, done, missed or remind One of confirm, arrived, done, missed, remind.

move_order

business:write

Move an order along: confirm, pack, dispatch (on its way) or deliver (done; cash_taken true when it was paid in cash on delivery or collection). The customer is told as in the panel.

website
Which website's business, by its id from list_websites; leave out when the account has one
order *
The order's id
step *
confirm, pack, dispatch or deliver One of confirm, pack, dispatch, deliver.
cash_taken
For deliver: the cash was taken

move_website_section

websites:write

Move a section up (negative) or down (positive) by a number of places.

website *
The website's id
section *
The section id
step *
-1 moves it up one, 2 down two

name_history

domains:read

What has happened to a name here: registration, renewals, nameserver and contact changes, and how each went.

name *
The name

name_prices

domains:read

Every ending we sell and its yearly price for this account.

partner_overview

clients:read

Your partner account: tier, discount, commission rate, referral link, wallet and how many clients. Start here as a partner.

partner_prices

clients:read

What each name ending costs you as a partner, and the public price.

pay_subscription

billing:write money

Pay a missed or paused renewal from the wallet now; whatever was paused comes back. Charges the wallet: tell the person the price and get a clear yes first.

id *
The subscription's id

plan_a_build

sites:read

Before connecting a repository: send its file names (and the contents of build files such as package.json, requirements.txt or a Dockerfile) and get the plan a build would follow, with an lh.toml that writes it down. Nothing runs.

files *
Path → contents (empty when only the name matters)

publish_website

websites:write asks first

Put the draft live: what visitors see changes. Refused while must-do checklist items are open unless anyway is true. A first publish can choose the free address. Waits for the owner's approval unless they switched that off.

website *
The website's id
anyway
Go live with checklist items still open
address
The free address for a first publish

put_on_google

websites:write

Put a live website (by its id) or one of the account's names with a website elsewhere on Google: we prove it's theirs, add it and hand over its page list, in the background. Optionally give their Google account's email for Google's own report. Never promise rankings.

website
A live website's id
name
Or a name, from google_listing's could_add_names
email
Their Google account's email, optional

query_database

databases:read

Run one reading query (SELECT …) on one of the account's databases, read-only, up to 200 rows. Use it to look at the customer's own data: products, orders, members, whatever the database holds. Never changes anything.

database *
The database's name
sql *
One SELECT (or WITH, SHOW, DESCRIBE, EXPLAIN) statement
limit
Rows to return, up to 200; default 50

read_support_question

any connection

One support conversation with every message.

id *
The conversation's id

redeliver_webhook

webhooks:write

Send one alert again.

id *
The webhook's id
delivery_id *
The delivery's id

register_name

domains:write money

Register a name for a year, paid now from the wallet. Owner details (registrant) can follow. Charges the wallet: tell the person the price and get a clear yes first.

name *
The full name, like yourbusiness.co.zw
nameservers
Leave empty to use ours
registrant
Owner details: name, email, phone, address…
auto_renew
Renew by itself from the wallet; default true

remove_git_source

sites:write asks first

Stop a site building from Git. It keeps running what it runs now. Waits for the owner's approval unless they switched that off.

site *
The site's short name

remove_website

websites:write asks first

Delete a website: offline, off Google, any extra-website charge ended. Its names keep answering with the holding page. This can't be undone; unpublish_website is the gentler choice. Waits for the owner's approval unless they switched that off.

website *
The website's id
confirm *
The website's name, exactly, as the person said it

remove_website_section

websites:write asks first

Remove a section from the draft. Hiding it (update_website_section with hidden) is the gentler choice. Waits for the owner's approval unless they switched that off.

website *
The website's id
section *
The section id

renew_name

domains:write money

Renew a name ahead for 1 to 5 years, paid now from the wallet. Charges the wallet: tell the person the price and get a clear yes first.

name *
The full name
years
1 to 5, default 1

reply_to_support

any connection

Add to a support conversation.

id *
The conversation's id
message *
What to add

reschedule_booking

business:write

Move a booking to another time, in the business's own time (no offset). Rooms take check_in and check_out days; everything else starts_at (and ends_at for day or hour bookings). The customer is told.

website
Which website's business, by its id from list_websites; leave out when the account has one
booking *
The booking's id
starts_at
YYYY-MM-DDTHH:MM
ends_at
YYYY-MM-DDTHH:MM
check_in
YYYY-MM-DD
check_out
YYYY-MM-DD

rotate_webhook_secret

webhooks:write asks first

Give a webhook a new signing secret (returned once). The receiver must switch to it, or it rejects alerts. Waits for the owner's approval unless they switched that off.

id *
The webhook's id

send_phone_auth_code

phone_auth:write money

Text a sign-in code from one of the account's Phone Auth apps to a number, to check the person owns it; check it with check_phone_auth_code. Spends one SMS credit. Charges the wallet: tell the person the price and get a clear yes first.

phone *
The number, like +263771234567
app
The Phone Auth app's id (pa_…); the first app when left out
reference
Your own note, like a user id

send_sms

sms:write money

Text one or more numbers (up to 200) from a sender name the account has. Spends SMS credits. Charges the wallet: tell the person the price and get a clear yes first.

to *
Numbers, like +263771234567
sender *
The sender name
message *
The text

send_sms_campaign

sms:write money

Text many numbers at once (up to 200), with every https link turned into a short one we count, so you can see who followed it. Spends SMS credits. Charges the wallet: tell the person the price and get a clear yes first.

to *
Phone numbers, like +263771234567
sender *
A sender name from list_sms_senders
message *
The text
name
A name for the campaign

send_sms_code

sms:write money

Text a 6-digit one-time code to a number (it lasts 5 minutes), to check a person owns it. Then check it with check_sms_code. Spends one SMS credit. Charges the wallet: tell the person the price and get a clear yes first.

phone *
The number, like +263771234567
reference
Your own note, like an order number

set_client_pricing

billing:write

Turn your own prices for clients on or off and set the markup (whole percent) per group of endings. Turning them on needs agree true (the partner terms on pricing).

own_prices *
Clients see your prices
markups
Group → markup percent, groups from get_client_pricing
agree
You agree to the partner pricing terms

set_git_source

sites:write

Make a site build from a Git repository, or change how: branch, a tag pattern instead of a branch, folder, Dockerfile, whether every push deploys.

site *
The site's short name
repo *
The repository URL
branch
Default main
root_dir
Folder inside the repository
dockerfile_path
A Dockerfile to use
access_token
For a private repository
auto_deploy
Every push deploys (default true)
trigger
branch (default) or tag One of branch, tag.
tag_pattern
For trigger tag, like v*

set_name_auto_renew

domains:write

Whether a name renews by itself from the wallet.

name *
The full name
on *
true to renew by itself

set_name_contacts

domains:write

Change a name's owner details (registrant): name, organisation, email, phone, address, city, country. Only what you give changes; it is sent to the registry unless submit is false.

name *
The name
contacts *
Fields from get_name_contacts and their new values
submit
Send to the registry now (default true)

set_name_lock

domains:write

Lock a name against transfers away (on), or unlock it to move it (off).

name *
The name
on *
Locked

set_nameservers

domains:write asks first

Point a name at other nameservers (its DNS leaves us until it points back). Waits for the owner's approval unless they switched that off.

name *
The full name
nameservers *
Two or more nameserver hosts

set_shared_setting

sites:write

Add or change a setting every site and app gets. They restart with it.

key *
The setting's name
value *
Its value
secret
Hide the value after saving

set_site_setting

sites:write

Add or change one setting of a site. The site restarts with it without going offline.

slug *
The site's short name
key *
The setting's name, like DATABASE_URL
value *
Its value
secret
Hide the value after saving (default: guessed from the name)

set_subscription_auto_renew

billing:write

Whether one subscription (from list_subscriptions) renews from the wallet by itself.

id *
The subscription's id
on *
Renew by itself

set_website_business

websites:write

The business details the whole website uses: name, tagline, WhatsApp, phone, email, address, city, opening hours and social links. Only what you give changes.

website *
The website's id
name
Business name
tagline
One line about it
whatsapp
WhatsApp number
phone
Phone number
email
Email address
address
Street address
city
City
hours
[{days, time}]
socials
[{network, url}]

set_website_look

websites:write

The website's look: palette, fonts, shape and density, each a name from look.options in get_website, and the WhatsApp button.

website *
The website's id
palette
A palette name
fonts
A fonts name
shape
A shape name
density
A density name
whatsapp_button
Show a WhatsApp button

set_website_photo

websites:write

Put a picture from an https address into an image field of a section (path c.image or c.items.2.photo, from the section's fields in get_website), or make it the business's logo (path business.logo, any section). A copy is kept with the website: upright, its location data removed, smaller. JPEG, PNG or WebP up to 8 MB.

website *
The website's id
section
The section's id (any, for business.logo)
path *
Where it goes
url *
https:// address of the picture
alt
What it shows, for people who can't see it

start_build

sites:write

Build and deploy a Git site again from its branch, a commit or a tag.

site *
The site's short name
ref
A branch or commit; default the site's branch
tag
A tag to deploy instead

start_site

sites:write

Start a stopped site or app.

slug *
The site's short name

stop_site

sites:write asks first

Stop a site or app. It stays, and can be started again. Waits for the owner's approval unless they switched that off.

slug *
The site's short name

submit_name_contacts

domains:write

Send a name's saved owner details to the registry.

name *
The name

suspend_mailbox

mail:write

Suspend a mailbox (nobody can sign in or send from it; mail still arrives) or bring it back.

address *
The mailbox's address, like sales@example.co.zw
suspended *
true to suspend, false to bring it back

test_webhook

webhooks:write

Send a test alert to a webhook now and say what its receiver answered.

id *
The webhook's id

transfer_name_in

domains:write money

Move a name here from another provider, paid now from the wallet (free for the .zw endings). Most endings need the transfer code from the current provider. Charges the wallet: tell the person the price and get a clear yes first.

name *
The name
auth_code
The transfer code from the current provider
owner_email
For .zw: the owner's email, where the registry asks them to agree

turn_on_email

mail:write

Turn email on for one of the account's own names. Needs Hosting or a package (the answer says when it doesn't); then add mailboxes with create_mailbox.

name *
The name

unpublish_website

websites:write asks first

Take a website offline. The draft is kept. Waits for the owner's approval unless they switched that off.

website *
The website's id

update_dns_record

dns:write

Change one DNS record in place by its id (from list_dns_records): give its whole new form. Records we keep for email or a website can't be changed.

zone *
The name
record_id *
The record's id
name
Record name: @ or a label
type *
A, AAAA, CNAME, MX, TXT, SRV, CAA, NS
content *
The value
ttl
Seconds, default 300
priority
For MX and SRV

update_email_signature

mail:write

Change an email name's signature: business details, colour (#RRGGBB), logo (https:// PNG or JPEG), small print, what replies get (full, short or none), the design, your own HTML, or turn it on or off. Only the fields you give change. Other designs, your own HTML and the offer line need Signature designs.

name *
The email name
business
Business name
tagline
A short line about the business
phone
Phone
whatsapp
WhatsApp number
website
Website address
address
Street address
accent
The business's colour, #RRGGBB
logo_url
https:// address of a PNG or JPEG logo
disclaimer
Small print under the signature
replies
full, short or none
banner_text
An offer or news line
banner_url
Where the offer line links to
design
A design key from get_email_signature
custom_html
Your own HTML, with {placeholders}
on
Put it on every message (true) or stop (false)

update_mailbox

mail:write

Change a mailbox: the name people see, its size, or its aliases (other addresses on the same name that arrive in it; the list replaces the old one). Only what you give changes.

address *
The mailbox's address, like sales@example.co.zw
display_name
The name people see
quota_mb
Size in MB
aliases
Other local parts, like info

update_webhook

webhooks:write

Change a webhook's address, events, description, or switch it off and on. Only what you give changes.

id *
The webhook's id
url
https:// address
events
Events to send
active
On or off
description
What it's for

update_website_section

websites:write

Change a section of the draft: its content (only the fields you give), layout, tone, menu word or hidden. Content values follow the section's fields: text, a choice from its options, true/false, an image (https://… or ph:1…ph:8), a link ({label, href}) or a list of items. Nothing visitors see changes until publish.

website *
The website's id
section *
The section id, or header or footer
content
Field name to new value; other fields keep their values
layout
One of the section's layouts
tone
plain, alt, ink or accent
nav
Its word in the menu
hidden
Keep it in the draft but off the page

wallet

billing:read

The wallet balance and what renews soon.

watch_inbox_reach

mail:write

Ask Gmail to start measuring a name with working email (or try again after a problem).

name *
The email name

website_catalogue

websites:read

What a selling website offers, as its visitors see it: products with prices, categories, offers and the owner's published records. Empty for a website that doesn't sell.

website *
The website's id, from list_websites

what_the_plan_includes

billing:read

What the account's packages and extras allow: how many websites, mailboxes, databases and so on, how many are used, and what an extra one costs.