Add sending domain
plunk_add_domainRegister a new sending domain and get the DKIM and SPF records for DNS setup. Use when adding a from address on a domain Plunk does not yet know about.
Instructions
Purpose: Register a new sending domain and get the DKIM and SPF records to place in DNS.
Not for: Re-checking a domain already added — that is plunk_verify_domain.
Returns: The created domain with the DNS records that must be configured.
Use when: Setting up a new from address on a domain Plunk does not yet know about.
Note: Adding a domain via an API key skips the admin-role check the dashboard applies, so this grants authority a non-admin project member does not have.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Bare domain name, e.g. 'mail.example.com'. | |
| projectId | Yes |