API keys and scopes

Create mpi_ keys, grant only what they need, cap what they spend, revoke them when done.

An API key lets your own code, or a tool like Zapier, act in your workspace. Each key carries only the permissions you give it, and you can revoke it at any time.

Create a key

  1. 1Open Integrations & MCP in the sidebar, then API keys, and click New key.
  2. 2Name it after the system that will use it, so you know later which key to revoke. Set an expiry date if it should stop working on its own.
  3. 3Under Start from, pick a template: Full access, Read only, CRM sync, Outreach automation, Scraping & data or AI assistant. Change anything below and it becomes Custom.
  4. 4Under Data access, give each area No access, Read or Read & write. Under Actions, tick only what the key must do. The ones marked Uses credits or Sends email are the ones to think twice about.
  5. 5Optionally set a lower rate limit and a spend budget per day, week or month for AI credits, crawls and email validations.
  6. 6Click Create key and copy it immediately. The full key is shown once and never again.
  7. 7Store it in an environment variable, never in your repository.

Data access

Each area is granted as area:read or area:write. Write includes read.

leads
Leads, companies, lists, fields and saved views.
lookup
Lookups in the people and company database.
outreach
Campaigns, sequences, enrollments and their stats.
inbox
Connected inboxes, signatures and the replies they received.
agents
Agent runs and their results, skills and memories.
workflows
Workflows and their run history.
forms
Forms, landing pages, their responses and domains.
data
Scrapers, runs, results, databases, endpoints and datasets.
account
Your profile, plan, usage, brands and workspace members.

Actions

No area grant includes these. Each must be ticked on its own.

scraper
Start scrape runs and re-runs. Spends credits.
agents
Start agent runs, answer their questions, cancel them. Spends credits.
endpoints:invoke
Call your published endpoints. Required by any REST client.
leads:validate
Verify lead email addresses. Spends validation credits.
outreach:send
Send mail from your inboxes, enroll leads and launch campaigns. Grant only to systems you trust.

Older keys may carry read and write, which mean read or write everything. They keep working; new keys are granted per area.

A key never does more than its owner's role allows, whatever it was granted. A call the role doesn't allow gets 403 with the code permission_denied and the reason. If the owner's role is narrowed later, the key is narrowed with it, and once they leave a workspace their keys no longer reach it. See Roles and permissions.

Using a key

HTTP
Authorization: Bearer mpi_your_api_key

Keeping keys tidy

The list shows each key with what it may do, when it was created, when it was last used and when it expires. Open a key to change its permissions, limits or expiry, or revoke it.

API access: each key with its permissions, when it was created and when it was last used

An unused key is easy to spot by its last-used date. Revoking takes effect immediately.

Did this answer your question?

More in API & developers

We already know your next customer