Skip to content

Account API and Agency MCP

Automate client account provisioning with the White-Label Account API and manage client accounts and bots from AI assistants via Agency MCP.

Updated View as Markdown

Aminos One supports two automation surfaces for agency owners: an HTTP Account API for connecting external checkouts/CRMs, and Agency MCP (/mcp/agency) for managing client accounts and building their bots from Claude, ChatGPT, Claude Code, or Codex.

White-Label Account API

Find your read-only API Key (UUID) and inline endpoint reference under Admin → Configuration → API & Developer.

Pass your api_key in the request body (JSON or form-encoded) on every call. All endpoints accept POST and operate strictly on your white label’s customer accounts:

Endpoint Required fields Optional fields What it does
POST /api/users api_key, name, email, price_plan_id — Creates a new client account (enforces max_users_count; returns 422 limit_reached when full), generates a 16-character password, and automatically queues a welcome email.
POST /api/users/update api_key, email name, price_plan_id Updates the client’s name and/or plan. (Note: unlike the Admin UI, updating price_plan_id via API does not send a plan-changed email or delete excess bots automatically.)
POST /api/users/suspend-user api_key, email — Suspends the client account (blocks dashboard editing; live embedded bots stay online).
POST /api/users/resume-user api_key, email — Resumes a suspended client account.
POST /api/users/delete api_key, email — Deletes the client user record.

Example: create a client account from a webhook or Make/Zapier

curl -X POST https://<your-domain>/api/users \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "YOUR_WHITE_LABEL_API_KEY",
    "name": "Jane Smith",
    "email": "jane@clientcompany.com",
    "price_plan_id": 12
  }'

Agency MCP (/mcp/agency)

Agency MCP lets white-label admins connect Claude, ChatGPT, Claude Code, or Codex to manage client sub-accounts and build/configure bots inside any client account — all from one assistant session.

Eligibility

  • You must be a non-suspended admin (role_id = 1) on your active white label.
  • Your owner account’s main-platform plan must have MCP enabled (mcp_enabled = true).
  • Individual client plans do not need mcp_enabled for you to build and manage bots inside their accounts through Agency MCP.

Connecting to Agency MCP

  1. Sign in as an admin on your custom domain and open Profile → MCP connections (/profile/mcp).
  2. Copy the Agency server URL: https://<your-domain>/mcp/agency.
  3. Add it to Claude, ChatGPT, Claude Code, or Codex using the exact same OAuth 2.1 steps as Connect an AI assistant.
  4. Connected Agency MCP clients appear under Connected assistants with an Agency badge and can be revoked at any time with Disconnect.

Agency MCP tools (40 tools total)

Agency MCP provides 6 dedicated agency tools plus all 34 standard Aminos MCP tools:

Agency tool What it does
agency_guide Returns your white label’s info, remaining sub-account capacity (max_users_count), and agency workflow guide.
list_accounts Search and filter your client accounts by name, email, price_plan_id, or suspended status.
read_account Inspect a client’s plan, limits, and current-period usage (bots, responses, AI tokens).
create_account Create a new client sub-account within your cap (optional send_welcome_email, default true).
update_account Rename a client, suspend/unsuspend them, or change their plan (fires plan-change checks; requires allow_bot_removal=true if their bot count exceeds the new plan’s bots_limit).
list_plans List all plans on your white label with their IDs, limits, and feature flags.

Every bot-level tool from the standard MCP tool reference (create_bot, write_flow, aminos_ai_settings_update, aminos_knowledge_submit_text, aminos_ai_action_save, manage_bot_sharing, read_bot_responses, etc.) automatically accepts a required account argument (client ID or email) and executes inside that client’s account within their plan limits.

For safety, Agency MCP cannot delete client accounts, change client emails or passwords, edit plans, or modify white-label domains.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close