MCPDocumentation
On this page

Create an API key

Keys are created in the Autonex panel, under Settings → API & MCP. The page appears once Autonex has enabled the "API & MCP" module for your organization and you have the Manage integrations permission (integrations.manage). People with the Manager role have it by default. If you don't see the page, ask Autonex to enable the module.

In the same section, MCP capabilities shows the tools you could use with your permissions.

Key types

TypeActs asWhen to use it
PersonalWhoever creates it. It has, at most, their permissions.Your personal Claude or ChatGPT. If the person is disabled or loses access, the key stops working immediately.
ServiceNobody in particular: only what its scopes say.An n8n workflow or an integration built by your technical team.
AgentAn Autonex agent (voice or text).Issued by Autonex for its agents; not created from the panel.

Steps

  1. Go to Settings → API & MCP → New key.
  2. Enter a name that says what it is for ("Ana's Claude", "n8n — weekly report").
  3. Choose the type (personal or service).
  4. Tick the scopes (what it will be able to do). The list is grouped like the role editor. Permissions you don't have are disabled: nobody can create a key more powerful than themselves.
  5. Choose the expiry: 30, 90 (default) or 180 days, or 1 year.
  6. Optional: restrict the key to one or more centres. Left empty, a personal key follows its owner's centres; a service key created by someone limited to some centres keeps those centres.
  7. Optional: a monthly limit of the key's own, in units (otherwise only the organization's quota applies).
  8. Click Create key. The full key (mk_xxxxxxxx_…) is shown only once: copy it into your password manager or your tool's credentials. Autonex only stores a hashed fingerprint, so it cannot be recovered; if you lose it, create another.

The list shows each key's prefix (mk_xxxxxxxx), owner, scopes, last use and calls this month. From there you can revoke it (it stops working at once and cannot be undone) or rotate it: a new key is created with the same scopes and centres, and the old one stops working at that very moment, with no overlap window. Only its owner can rotate a personal key; anyone with the permission can revoke it. The Usage tab shows this month's quota and calls per day, per key and per tool.

Scopes

A scope says which parts of Autonex the key may touch. You can combine pack scopes and single panel permissions:

ScopeDescriptionGrants
*Everything the key's owner can do (personal keys only)—
conversations:readView conversations and their statsconversations.view, metrics.view
contacts:readView contactscontacts.view
knowledge:readView the knowledge basekb.view
incidents:readView incidents (list, detail, counts, options)incidents.view
incidents:writeHandle incidents: create, notes, confirmed changes and assignmentincidents.view, incidents.handle, incidents.assign
incidents:agentAI agent: open, look up (by phone or conversation) and add informationincidents.create, incidents.lookup, incidents.add_note
agent:runtimeAct as one of the organization's voice agents (agent keys only)
ops:readSee schedule, absences and coverops.planning.view, ops.absences.view, ops.substitutions.view
ops:writeAlso: register/close absences, assign/undo cover and move/cancel classes (always confirmed)ops.planning.view, ops.absences.view, ops.substitutions.view, ops.planning.edit, ops.absences.approve, ops.substitutions.manage
<permission>Any single panel permission, e.g. ops.absences.viewthat permission
org:*Autonex staff only, issued by an admin: may pick the organization—

The effective permissions of a call are always the intersection: the person's permissions ∩ the key's scopes ∩ the organization's enabled modules. More in the security model.

Good practice

  • One key per client or automation, with a clear name. That way you can revoke one without affecting the others.
  • Grant only the scopes needed: a report only needs …:read.
  • Never paste the key into documents, chats or repositories. Store it as a secret or an environment variable (AUTONEX_MCP_KEY).
  • Check the usage on the same page or with the usage tool.