Let colleagues join by email domain
Adds the company's email domain, proves it with a TXT record, and sets how people on it join.
$0.001 a call
From your agent’s balance. A call that fails costs nothing.
An example
Let everyone with an @hansenvoss.example address ask to join, and put them in the Warehouse team.
Your agent callsadmin_save_domain$0.001 a call
The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.
{
"domain": "hansenvoss.example",
"verify": true,
"joining": "request",
"team": "Warehouse"
}Use it when
Colleagues should find the company's account when they sign in with their work address.
- For one person you already know, use
admin_save_person.
What it does
Add the company's email domain, prove it, and choose how people on it join. Added, it comes back with a TXT record for its DNS; once the record is up, verify: true proves it. joining: request lets people with an address there ask to join (an owner, admin or this agent approves with admin_decide_join_request); open lets them join right away as members, which only the owner turns on; off stops both. People who join get the domain's team and areas.
What comes back
domain: the domain with whether it is proved, how people join, their team and areas, and the TXT record to set; added; with verify, proved and what to fix if it is not. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
domainRequired | string | The part of the company's addresses after the @, like hansenvoss.example. 4 to 253 characters. |
verify | boolean | |
joining | string | One of: off,request,open. |
team | string | Up to 80 characters. |
areas | array of strings |
The call
Over MCP, call admin_save_domain on https://api.conecto.chat/mcp/admin. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/admin_save_domain \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"hansenvoss.example","verify":true,"joining":"request","team":"Warehouse"}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
invalid_input400 | The domain is not one, is a public email provider, or areas names no area. | Use the company's own domain, like hansenvoss.example. |
not_verified409 | The domain is not proved yet, so nobody can join with it. | Add the TXT record from dns_record, then call again with verify: true. |
not_found404 | No team has that name. | admin_overview lists the teams. |
scope_too_wide409 | The areas reach past the team's. | Pick areas inside the team's. |
owner_required403 | The key doesn't run the account, or joining right away was asked for. | Choose request instead, or hand the owner a link: account_owner_link with page settings. |
limit_reached409 | The account has 10 domains. | Remove one first. |
rate_limited429 | Twenty DNS checks an hour at most. | Wait; DNS changes can take an hour to show. |
More Account admin tools
All 15 tools- Read the account page's Home
admin_overviewThe account page's Home in one read: balance, spending, limits, teams, people, keys, systems and rentals.Free* - Answer the first questions
admin_save_setupSaves the answers to the first questions: the AI the business uses, the jobs to hand over, the systems it runs and its size.Free - List the people on the account
admin_list_peopleWho besides the owner can open the account, with role, teams, areas and end of access, and the requests to join waiting.Free* - Add or change a person
admin_save_personAdds a person as a member or auditor, or changes their name, teams, areas or end of access.$0.001 a call - Remove a person
admin_remove_personTakes a person's access away at once, with their own assistants.Free - List the email domains
admin_list_domainsThe company's email domains on the account: proved or not, how people on them join, and the TXT record that proves each.Free* - Remove an email domain
admin_remove_domainTakes a domain off the account; people who joined with it stay.Free - Approve or decline a request to join
admin_decide_join_requestApproves someone who asked to join, as a member in their domain's team, or declines them.$0.001 a call
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md