Announcing SparkPost in Postman

Dave Gray
Mar. 10, 2016 by Dave Gray

postman and sparkpost

Run in Postman

Run SparkPost in Postman

SparkPost is an API-first service, targeting developers. What this means in practice is that we build our APIs (you guessed it) first, and then build our UI using those same API calls. We also have quite a few human users of our APIs, in addition to the automated systems we’ve built around them. Some of these users aren’t comfortable enough on the command line, or with the details of HTTP, to use cURL to build their API requests. This is where Postman comes in, turning the API request and response into something much more human-readable.

There’s a UI for That

Postman gives less-technical users a way to make arbitrary HTTP requests using a point and click user interface. Collections make it easy to organize your requests and, to a point, share them. Environments make it easy to switch authentication keys and make other things configurable without editing each request.

The new Run in Postman button makes it much easier to share collections. Since we already use Postman internally, and for demos, it was a no brainer for us to get the button set up, using examples from our API documentation.

Roll Your Own

There are lots of things you can do with the SparkPost API, and now, more easily, with Postman. For example, you could send quick, one-off test messages, or experiment with some of our more complex templating features.

When it’s time to do some data analysis, our API gives you lots of options about what kinds of metrics you’d like to see, what period of time you’d like to see data for, and how to group the data that’s returned. The examples that we’ve provided are organized by endpoint, so they’re really showing you what types of questions can be answered.

Customizing these queries so they answer the sorts of questions you have about what you’re sending is where things start to get interesting. Show us how you’re using our collection and get your questions answered on SlackTwitter or good ole’ email.

 

Blog-Banner-WeHeartDev_600x150-030416

2 Comments

  • I tried loading the postman collection by clicking on ‘Run in postman’ button, but getting ‘Failed to import data:Format not recognized’message

  • Hi Sweta, if you get the same error after upgrading Postman to the latest version, please head over to slack.sparkpost.com and we’ll help get you up and running.

Related Content

Support for Google AMP for Email in SparkPost Coming Soon

We’re working with Google to add support for Accelerated Mobile Pages (AMP) for Email to the SparkPost service. Here’s a preview of how it works.

read more

5 Best Practices for Running a Successful Remote Team

Our top 5 best practices for running a successful remote team will help you foster positive morale on your team as remote work becomes more ubiquitous.

read more

The Bayesian Logic in SparkPost’s A/B Testing API

Our new API feature for A/B testing transactional emails uses a statistical algorithm, Bayesian Logic, for picking the winning variant of the message.

read more

Get started and start sending

Try SparkPost and see how easy it is to deliver your app’s email on time and to the inbox.

Try Free

Send this to a friend