Create a Sending Domain
documentedCreate a new sending domain.
POST /api/v1/sending-domainsSendingno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.sparkpost.com/api/v1/sending-domains" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: {{SPARKPOST_API_KEY}}" \
-d '{"domain": "{{$domain}}", "tracking_domain": "{{$tracking_domain}}", "dkim": {"generate_dkim": {{$generate_dkim}}, "dkim_key_length": {{$dkim_key_length}}}, "shared_with_subaccounts": {{$shared_with_subaccounts}}}'