Tool
mail_apikey_create
Issue a scoped sending API key; the full secret is returned only once
Issue a scoped sending API key; the full secret is returned only once
Behavior
- HTTP
POST /mail/api-keys
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | • | Human-readable label for the key |
| scope | string | • | Permission scope: 'full_access' or 'sending_access' |
| domainId | string | — | Optional Domain id this key is locked to |
Response
| Field | Type | Always | Description |
|---|---|---|---|
| id | string | • | |
| key | string | • | |
| name | string | • | |
| scope | string | • | |
| prefix | string | • | |
| domainId | string | • | |
| createdAt | string | • |
Try it
Issue a scoped sending API key; the full secret is returned only once.