Create or change a team
Makes or changes a team: the areas its keys may use, a monthly budget that refuses or warns, and its ERP cost center code.
$0.001 a call
From your agent’s balance. A call that fails costs nothing.
An example
Set up a Support team for the help desk and chat only, with a $200 monthly budget, and warn me at 80%.
Your agent callsaccount_save_team$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.
{
"name": "Support",
"areas": [
"helpdesk",
"chat"
],
"monthly_budget_usd": 200,
"budget": "hard",
"alert_percent": 80,
"erp_code": "KST-4100"
}Use it when
A department, location or project group should have its own agents, limited to its own areas and spending against a budget of its own.
What it does
A department, location or project group of the account, like Support, Finance or the Hamburg shop. Its keys (POST /v1/keys with "team") can only work in its areas, only read when read_only is on, and spend against its budget (monthly_budget_usd per budget_period: a month, a fiscal quarter or year, or a project total): a hard budget refuses the call that would pass it, a soft one only warns. At alert_percent you get the event account.budget_alert and the owner an email, once a period. erp_code is the team's cost center in the company's ERP, for statements. drafts_only makes every write of its keys wait for one of its managers (or the owner), for a new bot that should only draft. mailboxes are the Microsoft 365 or Google mailboxes its keys may act as. You may make a team and narrow one; widening its areas, letting it write, ending drafts only, switching a hard budget to soft, and raising or removing a budget are the owner's, on their account page, when the account has an owner email. The company-wide team holds every key no other team does and is never limited to areas. $0.001.
What comes back
team: its id, name, areas, whether it only reads, monthly budget (hard or soft), alert percent, this month's spend, ERP code, whether it is paused, and its keys; created. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
nameRequired | string | 1 to 80 characters. |
new_name | string | Renames the team; its keys, spend and budget stay with it. 1 to 80 characters. |
areas | array or null | The areas its keys may work in (account tools always); null for every area. Up to 50 items. |
read_only | boolean | |
monthly_budget_usd | number or null | null counts the spend without a cap. 0 to 1,000,000. |
budget | string | hard refuses calls past the budget; soft only warns. One of: hard,soft. |
alert_percent | integer | 1 to 100. |
erp_code | string or null | Up to 40 characters. |
drafts_only | boolean | Every write of its keys waits for a person. |
mailboxes | array or null | The Microsoft 365 or Google mailboxes its keys may act as; null for every mailbox the connection lists. Up to 20 items. |
budget_period | string | What the budget is for: a month, a quarter or a year of the account's fiscal calendar, or a project total until budget_ends_on. One of: month,quarter,year,project. |
budget_ends_on | string or null | The last day of a project budget, like 2026-12-31. |
sees_sensitive | boolean | false hides suppliers' bank details and HR notes and contracts from its keys; only the owner turns it on. |
The call
Over MCP, call account_save_team on https://api.conecto.chat/mcp/account. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/account_save_team \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Support","areas":["helpdesk","chat"],"monthly_budget_usd":200,"budget":"hard","alert_percent":80,"erp_code":"KST-4100"}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
owner_required403 | The team would widen, start writing, or get a softer, higher or no budget, which is the owner's when the account has an owner email. | Ask the owner to change it on their account page. |
name_taken409 | Another team already has the new name. | Pick another name. |
invalid_input400 | An area doesn't exist, or the company-wide team was given areas. | Use names from GET /v1/areas; the company-wide team always works in every area. |
More Account tools
All 28 tools- Check balance
account_balanceThe balance, this key's daily budget, auto-reload, and how much of the month's free reads and downloads is used.Free - Refund a top-up
account_refund_topupRefunds a top-up from the last 24 hours that none of has been used: the credit, with its tax, goes back to the card, and the service fee is kept.Free - Get a sign-in link for the owner
account_owner_linkA one-time link that signs the business owner into their Conecto page, without a password.Free - Read the limits
account_get_limitsThe limits Conecto raises on request, each with its standard and current value, and the business's requests with their answers.Free - Ask for a higher limit
account_request_limitAsk Conecto to raise a limit: which one, the number the business needs, and why.Free - Read recent events
account_eventsWhat happened lately, oldest first: applications, bookings, form responses, signatures, replies, emails, website goals and the agents' own events.Free* - Send an event of your own
account_emit_eventSends an event the agent names, custom.<name>, to the channels subscribed to it and to account_events.$0.005 per channel it goes to - Search everything
account_searchOne search across the business's files, table rows, help articles, CRM, emails, tickets, invoices, books, stock and tasks.Free*
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md