- Quick tips
How to Improve Holiday Supply Chain Communication with Email
Mailgun has, and always will be, an email service for developers. No matter the development environment or programming language you’re comfortable in, we’ve got libraries for that. We’re all about adapting and providing a better service, and that means flexing our more front-end capabilities too. That’s why we’ve made sure that you can use Mailgun in Postman.
Postman is for the people in your company that have an interest in exercising a REST-based API but aren’t comfortable with setting up a development environment, are confused by parameters, or have an episode of Westworld to watch and they might not have time to learn cURL. Postman makes APIs approachable by integrating them in a graphical interface.
APIs can be daunting to someone who isn’t familiar with them, and that can turn people away who should otherwise know more about them and how they play a role in their app or business. Postman empowers those people to feel like a programmer with programmer adjacent features like being able to set up environments that you can easily switch APIs between.
TL;DR – Postman makes your environment a little more user-friendly and helps non-programmers gain a little bit of programming understanding.
Now if you get what we’re saying and already have Postman, click the button below and go on your way. It includes a Mailgun-specific environment so that you can plug in the following few items and be in business:
API_KEY – found in the console under Account – Security
BASE_URL – US by default; simply change to https://api.eu.mailgun.net/v3 for EU
mydomain – many of our API endpoints have the domain in the request, so paste in your domain here
token – leave this guy alone entirely!
Done! You’re off and running! Go ahead and give the Get domains API a try – it’s ready to go without any further parameters.
1{2 "id": "3e675540-7389-4181-919b-2b36fc034ae1",3 "name": "Mailgun Postman Environment",4 "values": [5 {6 "key": "API_KEY",7 "value": "",8 "enabled": true9 },10 {11 "key": "BASE_URL",12 "value": "https://api.mailgun.net/v3",13 "enabled": true14 },15 {16 "key": "mydomain",17 "value": "",18 "enabled": true19 },20 {21 "key": "token",22 "value": "",23 "enabled": true24 },25 {26 "key": "template",27 "value": "",28 "enabled": true29 },30 {31 "key": "STORAGE_URL",32 "value": "",33 "enabled": true34 },35 {36 "key": "messagekey",37 "value": "",38 "enabled": true39 },40 {41 "key": "login",42 "value": "",43 "enabled": true44 },45 {46 "key": "ip",47 "value": "",48 "enabled": true49 },50 {51 "key": "tag",52 "value": "",53 "enabled": true54 },55 {56 "key": "address",57 "value": "",58 "enabled": true59 },60 {61 "key": "route_id",62 "value": "",63 "enabled": true64 },65 {66 "key": "webhookname",67 "value": "",68 "enabled": true69 },70 {71 "key": "mailinglist_address",72 "value": "",73 "enabled": true74 },75 {76 "key": "listname",77 "value": "",78 "enabled": true79 },80 {81 "key": "bulk_id",82 "value": "",83 "enabled": true84 }85 ],86 "_postman_variable_scope": "environment",87 "_postman_exported_at": "2020-02-26T17:50:07.402Z",88 "_postman_exported_using": "Postman/7.19.1"89
If Postman is sounding a little confusing, don’t worry! We’re going to walk you through downloading Postman and how to set it up. First, go ahead download Postman. Click the button below to import the Mailgun collection into Postman, or click this link and import as demonstrated below:
Then, go fetch your API key from the dashboard:
Also, go ahead and grab the domain you will be querying on:
Paste both your API key and Domain into the Mailgun Postman Environment, demonstrated below:
Finally, make your first request! Expand the collection, expand Domains, and hit Get domains. Then, click Send.
We hope you enjoy using Mailgun in Postman and show it to some of your coworkers who want to get their feet wet with our API. Hopefully, they feel a little less intimidated about APIs and gain a better understanding about what you do instead of giving you a blank stare when you bring up the topic. We’re really excited about it – like geeking out over Westworld spoilers excited. If you end up doing something really impressive with Mailgun and Postman, tweet at us! We’d love to see your work.
Learn about our Deliverability Services
Looking to send a high volume of emails? Our email experts can supercharge your email performance. See how we've helped companies like Lyft, Shopify, Github increase their email delivery rates to an average of 97%.
Last updated on May 15, 2021
How to Improve Holiday Supply Chain Communication with Email
What Is a RESTful API, How It Works, Advantages, and Examples
Email’s Not Dead Season 3 Is Finally Here
Easier and Faster Implementation with Our Updated SDKs
The Difference Between SMTP and API
When Should You Use An Email API?
Same API, New Tricks: Get Event Notifications Just In Time With Webhooks
Mailgun Security Incident And Important Customer Information
FML, I Didn’t Send That! What To Do If Spam Gets Sent From Your Account
FML, I Didn’t Send That! What To Do If Spam Gets Sent From Your Account
InboxReady x Salesforce: The Key to a Stronger Email Deliverability
Become an Email Pro With Our Templates API
Google Postmaster Tools: Understanding Sender Reputation
Navigating Your Career as a Woman in Tech
Implementing Dmarc – A Step-by-Step Guide
Email Bounces: What To Do About Them
Announcing InboxReady: The deliverability suite you need to hit the inbox
Black History Month in Tech: 7 Visionaries Who Shaped The Future
How To Create a Successful Triggered Email Program
Designing HTML Email Templates For Transactional Emails
InboxReady x Salesforce: The Key to a Stronger Email Deliverability
Implementing Dmarc – A Step-by-Step Guide
Announcing InboxReady: The deliverability suite you need to hit the inbox
Designing HTML Email Templates For Transactional Emails
Email Security Best Practices: How To Keep Your Email Program Safe
Mailgun’s Active Defense Against Log4j
Email Blasts: The Dos And Many Don’ts Of Mass Email Sending
Email's Best of 2021
5 Ideas For Better Developer-Designer Collaboration
Mailgun Joins Sinch: The Future of Customer Communications Is Here
Always be in the know and grab free email resources!
By sending this form, I agree that Mailgun may contact me and process my data in accordance with its Privacy Policy.