Platform keys (super admins)
A platform key lets one AI agent or script look after every business on the platform: checking accounts, fixing settings, managing users and plans. Only super admins can create one, and it stops working the moment its owner is no longer a super admin.
How to
- Open Super Admin → API & MCP (
/admin/api-keys). - Click Create platform key and give it a Name that says what will use it, such as Grok maintenance.
- Choose its Access. Read only inspects every business and the platform and changes nothing. Full control can do everything a super admin can.
- Optionally set an Expires date and the Allowed IP addresses the agent will call from.
- Click Create key, then copy the key. It starts
dap1.and is shown only once. - Connect your agent to the MCP server URL shown in the Connecting an agent
card, with the header
Authorization: Bearer dap1….
Working on one business
A platform key is not tied to a business, so the agent names one on every call. Over MCP each business tool
has a business_id argument; the agent finds the id first with
platform_businesses_list. That business's own plan still decides which features can be used, and
records from other businesses stay out of reach.
Platform tools
The platform_* tools manage the platform itself: businesses, users, subscription plans, SaaS coupons
and invoices, platform settings, and health, cron and queue checks. Secret settings are never shown, only
changed. The full list is at Super Admin → API & MCP → Platform
reference in the panel.
Platform tools only
https://api.digitalagency.tools/mcp?modules=platform
Things to ask
Which businesses signed up this week?
Is cron running, and how deep are the queues?
Reset two-factor for niamh@example.com.
See what it did
The Recent platform-key calls table on the same page lists each call with the tool, the business it touched, the result, the key and the time. Click the delete icon next to a key to revoke it. Anything using that key stops at once.
Keep it safe
- Use Read only unless the agent really must change things.
- Give every key an expiry date, and lock long-lived keys to known IP addresses.
- Have the agent ask before destructive actions. A full-control key can delete a business, together with every user whose home business it is. The agent must send the business's exact name to do it.
Developers: see the Platform API guide.
Still stuck?
Can't find what you're looking for? Send us a message and we'll reply by email.