Skip to content
Docs

Access tokens and n8n

An access token lets an automation tool such as n8n use the Voice AI Portal MCP server without signing in like an AI app. The agency owner creates it, chooses exactly what it may do and which clients it can reach, and sets when it expires. The tool then sends it as a Bearer token with every request.

Use a token when a tool can’t do the browser sign-in that Claude does: n8n and other automation tools, scripts, or Claude Code running unattended. For Claude.ai, Claude Desktop and Claude Code at your desk, connect with sign-in instead.

Only the agency owner can create tokens, and the dashboard session must be signed in with an email code.

  1. Open Settings, then Connected apps, and find Access tokens.

  2. Name it after what will use it, for example n8n weekly report.

  3. Choose its access. Reading is always included. Tick only what the automation needs:

    • Make changes: client details, client users, health alerts, report settings, branding.
    • Billing and money: billing plans, payment requests, refunds, top-ups.
    • Provider changes and campaigns: start or stop campaigns, test calls, disable clients, provider settings.
  4. Choose the clients it can reach: All clients (the whole agency), or one client only. A one-client token can read and change that client only, never another client or the agency’s own settings, and it stops working if that client is disabled.

  5. Choose when it expires: 7, 30, 90 (recommended), 180 or 365 days. Tokens never last for ever.

  6. Select Create token, then Copy. The token is shown once. Keep it in your automation tool’s credentials, then select Done.

The Access tokens card: Name, the three access choices with what each covers, “Clients it can reach”, “Expires after” and the Create token button.

After creating a token: “Copy … now. It won’t be shown again.”, the hidden token with a Copy button, which client it can reach and when it expires.

Every token works with the same address. Send it in the Authorization header:

Server URL: https://app.voiceaiportal.com/api/mcp
Header: Authorization: Bearer vappat_your_token

The server speaks MCP over HTTP (Streamable HTTP) and answers each request with JSON. An automation tool that can call an MCP server with a Bearer token can use it.

n8n’s MCP Client Tool node lets an n8n AI Agent call an MCP server’s tools. n8n’s documentation says the node supports Bearer authentication and lets you choose which of the server’s tools the agent may use: all, selected, or all except some. Use the server URL above, a Bearer credential holding your token, and pick only the tools your workflow needs.

Terminal window
claude mcp add --transport http voice-ai-portal https://app.voiceaiportal.com/api/mcp \
--header "Authorization: Bearer vappat_your_token"

More about Claude Code.

  • It acts as you, the owner who created it, with only the access you ticked. Reading is always included.
  • A one-client token sees only that client’s tools and data. For example, a read-only token for one client gets 22 reading tools; agency-wide tools, such as the agency briefing, aren’t offered. Asking about another client answers “not found”. It never shows another client’s name: where something is shared with other clients, it says how many.
  • Every change still runs as a preview first, and money and client-facing changes still need the exact confirmation text, exactly as with Claude. An automation that wants to apply a change has to send the preview’s token and the confirmation back.
  • Provider API keys never pass through it. For a key, it gets the same secure dashboard link that Claude gets.
Limit Value
Live tokens per agency 10
Tool calls, whole agency (every assistant and token together) 600 an hour
Changes, whole agency 120 an hour
Emails sent through AI assistants and tokens, whole agency 50 a day
Tool calls by one one-client token 200 an hour
Changes by one one-client token 40 an hour

A busy automation shares the agency’s hourly budget with your own Claude, so give each workflow only what it needs.

  • Reminder: the owner gets an email 7 days before a token expires. Tokens that last 7 days get no reminder.
  • Replace a token before it expires: create a new one with the same access, put it in your tool, then revoke the old one. There’s no “renew” button.
  • Revoke in Settings, Connected apps: select Revoke next to the token. Anything using it stops straight away, and this can’t be undone.
  • When the owner leaves, the tokens they created stop working.

The Activity tab in Connected apps shows each token’s sessions: the tools it used, the clients it touched, what was refused and any changes it made. It never shows the content of what was asked or returned. Activity and audit.

An Activity session for a one-client read-only token: three tool calls, two refused (agency overview and another client), and the token being issued.