Api Key Create
api_key_createCreate a named API key for an organization and return its plaintext value once; store it securely because it cannot be retrieved later.
Instructions
Create a new named API key for an organization. The response contains the plaintext key exactly once: relay it to the user immediately and treat it as a secret; it cannot be retrieved later. Requires organization admin permission.
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": {
"organizationId": "<organizationId>",
"name": "<name>"
},
"name": "api_key_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A descriptive name for the key, e.g. the integration that will use it. | |
| expirationDays | No | Days until the key expires. Omit or 0 for a key that never expires. | |
| organizationId | Yes | The organization id. Use organization_list to find it. |