Sign in

Create transmission

documented

Create a new transmission to send email (inline content, template, or RFC822)

POST /api/v1/transmissionsSendingno implementation yet0 runs
No 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>"}}'
Create transmission · SparkPost · OpenIntegrations