First of all, what is an API?

what is api? application programming interface. a set of functions and procedures allowing the creation of applications that access the features or data of an operating system, application, or other service.

 

Simply put, API allows two applications to communicate with each other in order to transfer data. Every time we use an app on our phones, we’re using API. The internet is basically a web of connected servers, and APIs run back and forth between servers to request and deliver data. When you visit smtp2go.com, for example, a request is sent from your browser to our server. Then, the response is sent from our server back to your browser and that’s how our website appears.

Think of API like a server in a restaurant…

The customer (or in this case, the app), sends an order to the kitchen (or our servers, for example) via the waiter (who acts like the API). Once the kitchen is ready, the assets (in this case, a thick juicy steak) are returned to the customer again via the waiter.

Ok, so when do you use an API?

You use an API when you want to do one of four things. GET, POST, PUT or DELETE. Here are some examples of when you’d use them with our service:

  • GET: requests data from a server (eg. report on email bounce statistics)
  • POST: sends new information to a server (eg. send an email)
  • PUT: makes changes to existing data on a server (eg. update an SMTP user)
  • DELETE: removes existing information from a server (eg. remove an SMTP user)

Where do I find APIs?

We’ve got a comprehensive guide to our APIs available here.

Why should I use an API?

If you want to add something to your website, there’s probably an API for that. It will save you a lot of time and effort if you can just use one that already exists, rather than having to create your own. For example, if you want to add a map to your site, you can just use Google Maps’ API rather than having to create your own database of information.

How do I use APIs?

First of all, you’ll need an API key. You can generate one by going to the “API Keys” page of your SMTP2GO dashboard. create api key smtp2go

Once you’ve done that, you can then take the key and input it into your app. For example, if you want to send email using WordPress, you can just input the key into the WordPress SMTP2GO app.

If you’d like to know more about how to integrate our APIs with your system, please don’t hesitate to get in touch.

Louise Feaheny

Leave a comment

No thoughts shared yet. Be the first to leave a comment above!

Related posts

More Features & Updates articles
  • Scan to Email: How to Set It Up and How to Fix It When It Breaks

    Scan to Email: How to Set It Up and How to Fix It When It Breaks

    Scan to email is five settings. Get them right and a fifteen-year-old copier will send PDFs reliably for another fifteen years. Get one wrong, or let your email provider change the rules underneath you, and you get a two-line error on a touchscreen and a line of people holding paper.

  • Gmail Blocked in China? How to Keep Sending Email That Actually Arrives

    Gmail Blocked in China? How to Keep Sending Email That Actually Arrives

    Most guides on this topic are written for travellers trying to open their inbox. This one’s written for the sysadmin whose WordPress site stopped sending order confirmations the day the team opened a Shanghai office. The developer whose app’s password-reset emails vanish from inside the country.

Not tried SMTP2GO yet?

Get acquainted with our application while you apply. There's no extra cost to track all of your emails. Forget headaches with email delivery:

Create your SMTP2GO account
App Dashboard

Log In