create_api_key
Create a new Resend API key with optional sending-only permission and domain restriction. The key is returned once—store it securely.
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 |