Org-scoped credentials
MSP console → API mints two kinds of organization-grain credentials, distinct from the per-workspace keys under Settings → Integrations:
- Org API keys: drive the
/v1/msppartner endpoints, and can also call every standard/v1endpoint on behalf of one of your client workspaces by naming it with?workspace=<id>(the API page lists your client workspace ids). A workspace id outside your organization answers 404. - Org MCP tokens: serve the MSP tool set to AI assistants (list clients, portfolio posture, client detail, create client, bulk-add domains, archive client, invite a client user, the month's usage, and read or change the alert policy) over the same underlying operations as the console. A bulk-add runs only as its own request: inside a JSON-RPC batch it is refused, and the rest of the batch still runs.
One client in depth from an assistant
An org MCP token also reads any one client the way a workspace token reads its own workspace: domain overview, senders, reporters, DKIM, TLS, reports, action items, recent changes and the rest of the read tools. Each takes the client's workspace_id (list_clients gives every id), so "why is this client failing at Outlook" no longer needs a token per client. It works exactly like an org API key's ?workspace=: an id outside your organization answers "No client workspace with that id", the same as an id that does not exist, an archived client can still be read, and a deleted one cannot.
These are reads only. An org token changes a client through the MSP tools above; dismissing an action item, staging a DNS fix or editing a sender in one client needs a workspace token minted in that client. A workspace token reads its own workspace and refuses a workspace_id that names any other.
get_usage answers the month's billed domains, the projected invoice at your rate card and each client's share of it, the same numbers as the billing page and GET /v1/msp/usage. Pass month as YYYY-MM for an earlier month.
get_recipient_relays answers, across every active client, the domains whose mail a recipient company's own email security changed on the way in (INKY, Proofpoint, Mimecast and the others the console names), with what happened and a note for that company's IT: the list at the end of the console's Alerts page, and GET /v1/msp/recipient-relays. Pass days from 1 to 90; the default is 30. None of it counts against a client.
An org MCP token with write access creates and archives clients, bulk-adds domains and changes the alert policy and per-client overrides. Three things need a second choice when you create it, Also allow sharing outside the account: the extra alert recipients, the account webhook endpoint, and inviting people into client workspaces. It is off by default, and the email every owner gets for a new token names it. An invite made by an assistant can only make a viewer; invite a member from the console.
An organization owner can turn every MCP change off without revoking anything: Turn off MCP writes on the API page stops your organization tokens and every workspace token in your clients from changing anything, while they keep reading. A workspace owner has the same switch for one workspace under Settings → Integrations → MCP.
The sharing tools (extra recipients, the account webhook and client invites) also wait for your yes over MCP: the first call changes nothing and returns a preview (the address, the webhook URL, the client and role) with a confirmation code, and the change happens only when the assistant calls again with the same request and that code. A code works once, for ten minutes, for that token and that exact request. The partner API is unchanged.
403 share_scope_required on these); to do them from an assistant or a script, create a new token or key with sharing outside the account allowed and revoke the old one. An invite over the API, like one over MCP, makes a viewer only.The Credentials list on API opens on Current, every credential that still counts toward the cap. A revoked one moves to the Revoked tab, where Delete removes it for good; the Activity page keeps the record that it was created, revoked and deleted. Org credentials belong to the account, so these rows never show in a client's own audit log.
An org MCP token can also be limited to allowed addresses: list your office or server ranges (for example 203.0.113.0/24, or an IPv6 range) when you create it, and a call from anywhere else is refused as if the token did not exist. Leave the field empty to allow any address. Rotate keeps the ranges, the name and the access; an org API key rotates the same way, keeping its name, access and lifetime. Every owner is emailed when an org credential is created or rotated, and its creator a week before it expires. Click an org MCP token's name on the API page to see what it called, by tool and day, where it was last used from, and every change it made across your clients.
The partner endpoints
The endpoints under /v1/msp list and create clients, fetch one client's detail, archive and restore, bulk-add domains, invite a client user, export usage, read your brand profile, and read or change your alert policy. They run the same server cores as the console and the MCP tools, one implementation, three doors, and writes accept an Idempotency-Key header so a retried request cannot double-create (held per API key, so two keys never share one). The full request and response shapes are in the public API reference on the marketing site under /developers, MSP section.
The provisioning flow a PSA export feeds is two calls per client: create the client, then bulk-add its domains. Domains pass the same validation and acceptable-use checks as every other door into the product. The acceptable-use check counts once per domain, not once per call, against your organization's 100 checks a day; past that, domains are still added, each one comes back with review: "pending", and our team reviews it. The check itself runs after the call answers. A domain it flags can't be verified until a person looks at it, and reads review: "pending" on the domains list.
Each domain that landed comes back with dmarc: the one record to publish, which proves control of the domain and starts its reports. Publish it through your own DNS automation and the domain verifies by itself, usually within a few minutes. GET /v1/domains/{domain}/verification says where it stands, and POST /v1/domains/{domain}/verify checks at once. The CSV import offers the same records as one file when it finishes.
Alert policy
Everything on MSP console → Alerts → Alert settings is also open to an org key and an org MCP token with write access (the recipients and the webhook also need sharing outside the account allowed, on either): which findings alert, instant or hourly delivery, the blocked new sources alert, a mute or severity override per client, the extra recipients, and the account webhook endpoint. GET /v1/msp/alert-policy reads all of it in one call. Changes need the credential's creator to be an owner or admin, and each one shows on the console's Activity page under the key or token that made it; a mute or override for one client shows in that client's audit log instead.
Adding an extra recipient works exactly as it does in the console. The address gets a confirmation email and receives nothing until it clicks the link; no API call or AI assistant can confirm on its behalf. The five-address limit and the limits on confirmation emails apply to every door at once. Connecting Slack stays in the console, because it is a sign-in with Slack.
While an account is suspended, its org keys can still turn alerts down, and nothing else: mute a client or clear its override, remove an extra recipient, and turn off or delete the account webhook. Every read and every other change is refused until the suspension is lifted.
CSV import
For one-off migrations the console importer (/msp/import) beats scripting: paste or upload client,domain[,purpose] rows, read the dry-run verdict for every row (created, added, skipped and why), then apply. The preview and the apply share one planner, so what you approved is exactly what runs.