Skip to content

Instantly share code, notes, and snippets.

@dwelch2344
Created August 3, 2017 00:13
Show Gist options
  • Save dwelch2344/a906b583edb0475ff29630b8b0a1f287 to your computer and use it in GitHub Desktop.
Save dwelch2344/a906b583edb0475ff29630b8b0a1f287 to your computer and use it in GitHub Desktop.

Need the transmission_id from the event (easily found both the UI and API) Then just hit https://api.sparkpost.com/api/v1/message-events?transmission_ids=<trans_id> and get the template_id After that, hit https://api.sparkpost.com/api/v1/templates/?transmission_ids=<template_id> and you're set!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment