create_api_key
Create a new API key for sending emails via Resend. Optionally restrict permissions to sending-only and limit to a single domain. Store the returned key securely, as it is shown only once.
Instructions
Create a new Resend API key. The full key value is returned ONLY once — store it securely. Optionally scope it to sending-only and to a single domain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A label for the key, e.g. 'production' | |
| permission | No | "full_access" (default) or "sending_access" (can only send emails) | |
| domain_id | No | Restrict a sending_access key to a single domain ID |