Schedule a transmission
documentedSchedule a transmission to be generated/sent at a future time (start_time in options).
POST /api/v1/transmissions/Sendingno 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/transmissions" \
-X POST \
-H "Authorization: {{SPARKPOST_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"options": {"open_tracking": true, "click_tracking": true}, "recipients": [{"address": {"email": "{{$recipient_email}}", "name": "{{$recipient_name}}"}}], "content": {"from": {"name": "{{$from_name}}", "email": "{{$from_email}}"}, "subject": "{{$subject}}", "html": "<p>Hello {{address.name}}, this is a test transmission.</p>"}}'