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
- The API and MCP endpoint require the API & MCP access add-on. Turn it on from the workspace Subscription page.
- Create API tokens per project, in Project Settings > API & MCP access, or create one workspace token that reaches every project of the workspace, in Workspace Settings > API & MCP access.
- REST API base URL is
api.ziptie.ai/v1; the MCP endpoint isapi.ziptie.ai/mcp. - Authenticate with
Authorization: Bearer <your token>. - The MCP endpoint connects clients like Claude Desktop, Claude Code, Cursor, and VS Code so an agent can answer questions about your brand performance. Claude on the web and ChatGPT connect with a browser sign-in instead of a token.
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.
Open Project Settings > API & MCP access.
Choose Create API token.
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.
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:
- Rotate creates a replacement token and keeps the old secret working for an overlap you choose: 1 hour, 24 hours, or until you confirm the new one is stored (at most 15 minutes).
- Reassign (Reassign to me) makes you the token's creator. A workspace token works only while the person who created it is an Owner or Admin of the workspace. If that person is demoted or leaves, the token shows Stopped until you reassign it, so reassign a token before its creator changes role.
- Token activity lists the recent events on the workspace's tokens.
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:
- Projects can be created, changed and deleted, with limits.
GET /v1/projectslists the projects the token reaches: the one project a project token is bound to, or every project of the workspace for a workspace token. Only a workspace token with the Admin access level can create a project or delete one, a delete needs the project's name typed again and cannot be undone, and each is limited to 20 a day per workspace. A project's settings can be changed with an Admin token whose creator is still a project Admin or Owner. - No account or billing endpoints. Workspaces, members, subscriptions, invoices, and notifications are app-only. A workspace token can read the workspace's name and whether it is paid or lapsed, and a rollup of its projects, and nothing more.
- Content is read-only. You can read content briefs, pieces, writing styles and page audits. Creating, editing and generating content stays in the app. A page audit can be started: it draws on the same monthly allowance and daily limits as the app, so an integration can use up audits the app's users would have used. A finding's state can be changed and a finding added to the Action Center, and a card there can be completed or dismissed, which is recorded under the name of the person who created the token.
- Webhooks push events, and incremental sync reads changes. A webhook subscription makes ziptie.ai send a signed HTTPS message to an address you choose when a check cycle finishes, its scores are ready, a metric changes band, an Action Center card opens, a page audit finishes or an export you started over the API finishes. You can set a project's own subscriptions up in Project Settings > Webhooks, and the ones that reach every project in Workspace Settings > Webhooks (workspace Owners and Admins), where the app also lists, edits, tests, pauses, rotates the secret of and deletes them, or create them over the API with an Admin token. The signing secret is shown once, when you create a subscription or rotate its secret. A project holds up to 10 subscriptions and a workspace up to 25 workspace-wide ones, the address must be
httpson port 443 at a public hostname, a subscription can send 5 test messages a minute (20 across the workspace) and 20 redeliveries an hour (100 across the workspace), and ziptie.ai disables one whose address keeps failing and emails the workspace's Owners and Admins. Delivery is at least once and not in order, so a receiver checks the signature and ignores a message it already handled. An event feed lets an agent or a job that cannot host an endpoint pull the same events, and incremental sync reads only the rows that changed since your last read, with the rows that were deleted. Webhooks, the feed and sync are part of the API & MCP access add-on and stop when it lapses. There is no streaming: ziptie.ai never holds a connection open. - Competitor visibility and brand merges change what numbers mean. You can hide and unhide the brands and domains of a project's competitor rankings, and merge brand-name variants into one name, split them again and accept or dismiss merge suggestions. A merge changes the brand numbers of every project in the workspace, so a project token can do it only while its creator is a workspace Owner or Admin, and splitting needs the Admin access level. A workspace holds at most 5,000 merged names. Which brands and domains count as tracked competitors is still set with competitor tags: you can create, rename and fill them.
- Brand names in the mention rankings are merged, and one endpoint does not merge them. Spelling variants of a competitor are reported under a single canonical name in the mentions ranking and its trend chart, so a brand written three ways counts once. The per-brand facts endpoint is the exception: it matches the spelling as recorded, so a name copied from the ranking can return fewer facts than the ranking's count implies. Cited domains and URLs are never merged.
- Bulk writes exist where the app has them. One request creates up to 500 prompts, 500 URLs or 15 brand facts, and changes up to 10,000 prompts at once: pause or resume, add or remove tags, link or unlink URLs, change intent and funnel stage, or delete. Competitor tags can be changed on many brands and domains in one call. Reading in bulk is fine:
/checksreturns a project's whole check history as one paginated resource, and/prompts/textslists every prompt text 1000 at a time. - Exports are jobs, and the file link is short-lived. An export is created, polled until it is done, and downloaded from a signed link on the app's address that works for 10 minutes without a token. A file is kept 14 days, a workspace can have 2 API exports running, and a project can create 50 a day. Share links, a report's PDF and its narrative are not on the API.
- Scheduled client reports can be managed, with limits. A token can create, change, pause, resume and delete a schedule, keep its recipient list, and approve or reject each run. Adding a recipient outside your workspace needs a token whose creator is a workspace Owner or Admin (or a writer, when the workspace lets writers add them), so a project token made by an editor cannot add one. A workspace can create 20 schedules and add 25 outside recipients a day through the API. A test send, a resend, the activity feed, report branding and a schedule paused by a spam complaint stay in the app.
- Some writes run as the person who created the token. Completing or dismissing an Action Center card, saving a Data Explorer view and a scheduled client report are recorded as made by the token's creator, and they stop working when that person loses write access to the project. Create a token as a person who has it.
- No sandbox. There is no test environment and no test-mode key. Every token is live and acts on real project data, so develop against a project you are happy to write to.
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.
- It is a real credential. The connection has one access level and one reach, needs the API & MCP access add-on, shares the per-token rate limits, runs writes as you and is recorded in the token activity log. You connect a whole workspace as an Owner or Admin, or a project as someone who can edit it, and your project role caps the access level you can allow.
- See and revoke it under Connected apps. Project Settings > API & MCP access and Workspace Settings > API & MCP access list each connection with the app, its reach and access level, who approved it and when it was last used, and Revoke ends it at once. A workspace holds up to 50 connections and each person up to 10 in it, and they do not count toward the ten-token limits.
- It lasts while it is used. The app refreshes its credential by itself every hour. A connection that is not used for 30 days ends, and every connection ends 180 days after you approved it; the app then asks you to reconnect. It also ends if you lose the role it needs, or the add-on is switched off.
- To change what it can reach or do, reconnect. Remove the connector and connect it again with the new choices.
- It works on the MCP endpoint only. For the REST API, create a token as before.
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).