mailkite_create_scoped_key
Create a domain-scoped API key to secure per-site installs. Restrict access to one domain so sites never hold your account master key.
Instructions
Create a key scoped to one domain. Ideal for per-site installs (e.g. a WordPress plugin) — the site never holds the account master key. Requires a management session token.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domainId": "<domainId>"
},
"name": "mailkite_create_scoped_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional label shown in the dashboard (e.g. which site/integration holds this key). | |
| domainId | Yes | The domain (dom_…) the new key is limited to. Must belong to the calling account. |