Using the API and MCP

The API & MCP access add-on opens two programmatic doors to your workspace: a REST API for reading and managing your data from code, and an MCP endpoint that lets an AI agent connect to your workspace as a tool. This article covers turning it on, creating tokens, and the difference between the two surfaces. Full developer reference lives at docs.ziptie.ai.

Quick orientation

Turning on API & MCP access

API & MCP access is an add-on that sits on top of any paid plan. A workspace Owner or Admin enables it from the Subscription page; see API & MCP access and content add-ons for pricing. Until the add-on is active, the API & MCP access section prompts you to enable it and tokens cannot be created. If the add-on is later switched off, API access is shown as suspended: existing tokens are kept and work again when API & MCP access is re-enabled.

Creating an API token

A project token is scoped to a single project and is managed in that project's settings. People who can edit the project can create one. A workspace token reaches every project of the workspace, including projects added later, and is managed in Workspace Settings > API & MCP access by a workspace Owner or Admin; it expires after 30, 90 or 365 days, and a workspace can hold up to ten active workspace tokens.

  1. Open Project Settings > API & MCP access.

  2. Choose Create API token.

  3. Give it a name, pick an expiry (30, 90, or 365 days, or never), and choose an access level:

    • Read only - list and read your data.
    • Read + Write - additionally create and update prompts (one at a time or in bulk), tags, URLs, competitor tags and annotations, accept or dismiss prompt suggestions and candidates, start exports, start page audits, complete or dismiss Action Center cards, hide competitors, merge brand names, save Data Explorer views, create and run scheduled client reports, and dismiss answer accuracy problems or undo a dismissal.
    • Admin - additionally delete, create, update and delete brand facts, change the project's settings, delete saved Data Explorer views, split merged brand names, hide a competitor that carries tags, and (on a workspace token) create and delete projects.

    The access level you can choose follows your project role. A project Admin or Owner can create any level, and a member with the User role can create Read only or Read + Write but not Admin.

  4. The token is shown once. Copy it immediately and store it somewhere safe; you cannot view it again.

Each token's last-used time is shown in the list, and you can revoke any token at any time. Revocation is immediate and permanent; a revoked token cannot be restored, so issue a replacement first if something is still using it. A project can hold up to ten active tokens. Treat a token like a password: anyone who has it can act on the project at its access level.

Managing workspace tokens

Workspace Settings > API & MCP access is visible to Owners and Admins, and shows each workspace token with its access level, last use and expiry. Besides Create workspace-wide token and Revoke, each token offers:

A token that is still in its rotation overlap, and a token that shows Stopped, both count toward the ten-token limit until revoked.

Rotating a project token

Project Settings > API & MCP access shows a Rotate action on each active project token, with the same overlap choices as a workspace token: 1 hour, 24 hours, or until you confirm the new one is stored (at most 15 minutes). The successor keeps the name, access level and expiry window. You can rotate a token whose access level your project role allows you to mint, so a member with the User role rotates read and write tokens but not an admin one. A project token in its rotation overlap counts toward the project's ten-token limit until the overlap ends or you revoke it.

The REST API

The REST API at api.ziptie.ai/v1 lets you read project data and prompt results, check progress, brand and competitor metrics, the roster of competitors the project tracks, competitor tags and their members, the brand-name merges your workspace has configured, brand facts, answer accuracy problems, dashboard and LLM-trend data, URLs, tags, UGC Impact data (platforms, the individual sources cited on each one, topic clusters, user voices and attributes), website pages, Search Console and Google Analytics figures, Google and Bing organic ranking data, content briefs and pieces, page audits, annotations, Action Center cards, saved and ad-hoc Data Explorer queries and the figures behind a client report. It can also build CSV, XLSX and PDF exports of the same data the app exports. With a write or admin token you can also manage prompts, tags, URLs and competitor tags, accept or dismiss prompt suggestions and candidates, triage page audit findings, start a page audit, complete or dismiss Action Center cards, hide or unhide competitors, merge brand names, save Data Explorer views, create scheduled client reports and approve their runs, dismiss answer accuracy problems or undo a dismissal, and (admin) manage brand facts and project settings. A workspace token also reads every project of the workspace in one call. Authenticate every request with the bearer token.

The MCP endpoint offers the same operations as tools, one for each REST operation. New operations are listed in the changelog at docs.ziptie.ai.

Typical uses: pushing ziptie.ai metrics into a BI tool or a custom dashboard, combining AI-search visibility with the rest of your marketing analytics, or automating a weekly report.

What the API does not cover

The surface is deliberately narrow: it reads and writes inside one project you already know the ID of, and nothing else. Worth knowing before you design an integration around it:

The MCP endpoint

The MCP (Model Context Protocol) endpoint at api.ziptie.ai/mcp lets AI-agent clients connect to your workspace as a tool. With it configured in a client like Claude Desktop, Claude Code, Cursor, or VS Code, you can ask the agent things like "how did my brand do on Perplexity this week" or "list the prompts where I lost ground against this competitor" and get a real answer drawn from your live data. The MCP endpoint uses the same project and workspace tokens and the same access levels as the REST API.

Claude Code, Cursor, and VS Code reach the endpoint directly over HTTPS. Claude Desktop cannot: it only loads MCP servers that run as local processes, so its setup routes through mcp-remote, a third-party bridge launched with npx. That means Node.js 18 or newer on the machine and one extra piece of software in the path your token travels.

Connecting Claude or ChatGPT without a token

Claude on the web and in the Claude apps, and ChatGPT, can connect as custom connectors without a pasted token. Add https://api.ziptie.ai/mcp as the connector URL, sign in to ziptie.ai in the window the app opens, and on Connect an app to ZipTie choose the workspace, whether the connection reaches the whole workspace or one project, and its access level (Read, Write or Admin), then Allow.

Setup guides for Claude and ChatGPT live at docs.ziptie.ai.

Per-client setup guides live at docs.ziptie.ai.

Rate limits

Both surfaces share the same limits, applied on three counters at once: 60 requests per minute per project token (120 for a workspace token), 600 per minute across the workspace, and 50,000 per day across the workspace. REST responses carry X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset, and going over returns 429 with a Retry-After header. Over MCP the same rejection arrives as a JSON-RPC error rather than a 429, still with Retry-After. Rejected requests do not count against your quota. On the MCP endpoint, tool calls count; discovery calls that only list the available tools do not. A few actions have limits of their own: the workspace rollup (10 requests a minute), Data Explorer queries (a few run at once), exports, prompt candidate generation (4 a day per project) and project creates and deletes (20 a day each).