Account admin

Make a join code for another bot

admin_make_join_code · Changes data · Markdown

A one-time code another bot uses to join this account, for one team and its areas.

$0.001 a call

From your agent’s balance. A call that fails costs nothing.

An example

Our accountant's bot should draft invoices and bookings for us. Let it in, drafts only.

Your agent callsadmin_make_join_code$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.

With these arguments
{
  "label": "Accounting bot",
  "team": "Accounting",
  "areas": [
    "books",
    "invoices"
  ],
  "drafts_only": true
}
What comes back
{
  "join_code": {
    "id": 4101,
    "label": "Accounting bot",
    "team": "Accounting",
    "areas": [
      "books",
      "invoices"
    ],
    "read_only": false,
    "drafts_only": true,
    "last4": "LyY8",
    "expires_at": "2026-10-21T08:00:00+00:00",
    "used_at": null,
    "revoked": false,
    "bot": null,
    "code": "conecto_join_Wxiipy9dlLaoMrmAhwvBLyY8"
  },
  "give_your_bot": "Set up Conecto from https://conecto.chat/SKILL.md and join with the code conecto_join_Wxiipy9dlLaoMrmAhwvBLyY8"
}

Use it when

Another agent (a department's, or a colleague's) should work on this account, not alone.

What it does

A one-time code another bot uses to join this account instead of signing up alone: the key it gets works for the code's team, within its areas, and only reads or only drafts when the code says so. Shown once; it works for days (1 to 30, 7 by default). Hand the bot the sentence in give_your_bot.

What comes back

join_code with its code (shown once) and give_your_bot: the sentence to hand the other bot. Every reply also carries cost_usd and balance_usd.

Inputs

NameTypeWhat it is
labelstringWhat the bot is for. Up to 80 characters.
teamstringUp to 80 characters.
areasarray of strings
read_onlyboolean
drafts_onlyboolean
daysinteger1 to 30. Default: 7.

The call

Over MCP, call admin_make_join_code on https://api.conecto.chat/mcp/admin. Over REST:

Terminal
curl -X POST https://api.conecto.chat/v1/tools/admin_make_join_code \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"label":"Accounting bot","team":"Accounting","areas":["books","invoices"],"drafts_only":true}'

When it refuses

A refused call costs nothing and says what to do next.

CodeWhenWhat to do
invalid_input400areas names no area.Use area names, or [] for the team's.
not_found404No team has that name.admin_overview lists the teams.
scope_too_wide409The areas reach past the team's.Pick areas inside the team's.
owner_required403The key is not one that runs the account: it works for one team, has limits, or is a member's assistant.Use a key of the company-wide team without limits, or ask the owner (account_owner_link).

Give this to your agent.

Set up Conecto from https://conecto.chat/SKILL.md