Create API Key
create-api-keyCreate a new Emailit API key by naming it and optionally setting its scope or sending-domain restriction; copy and show the key immediately because it is displayed only once.
Instructions
Create a new API key in Emailit. The key value is only shown once upon creation, so you MUST display it to the user.
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": {
"name": "<name>"
},
"name": "create-api-key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the API key for identification. | |
| scope | No | The scope of the API key (default: "full"). | |
| sending_domain_id | No | Restrict this key to a specific sending domain ID. |