create_api_key
Create an API key with full or sending access, optionally scoped to a domain. The token is returned only once, so save it immediately for secure authenticated requests.
Instructions
Create an API key (POST /api-keys). The token is returned ONCE. permission is 'full_access' or 'sending_access'.
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 | A label for the key. | |
| domain_id | No | Scope a sending_access key to one domain. | |
| permission | No |