API stands for Application Programming Interface. An API is a software intermediary that allows two applications to talk to each other. In other words, an API is the messenger that delivers your request to the provider that you’re requesting it from and then returns the response back to you.
More specifically, our APIs provide programmatic access to your Stannp Bulk Mailer account and you can configure campaigns, feed data and trigger mail pieces to be dispatched using simple yet secure HTTP requests.
Don't miss the integral API document, put together by our tech experts, offering a guide on Stannp.com's API https://www.stannp.com/direct-mail-api.
Our API is secure because every API call to our service requires authenticating. This is simply done by passing your unique API key along with each request. All API requests must be made over HTTPS so they are encrypted. Any requests made over HTTP will fail and could suspend your API key.
First of all, you need to know your API Key. Second, you need to take a look at the API Documentation to know the format and parameters of the HTTPS requests. Third, you need to have a way of firing the requests: simple get requests like the one above can be ran in your browser. You can also use the command line or a programming language to make those requests or an application like Postman.
It's simply settings -> API
Follow the link to Stannp.com's API Documentation here https://www.stannp.com/direct-mail-api.
The API is perfect for any kind of automation. It’s basically a way to use our service without the need to log into a dashboard and click buttons. For example instead of manually importing data you could set up a script that will do it for you.
You will need a good technical understanding of how HTTP API requests work and will have to write script and implement them yourselves.
Not really, however you can set up automation by using our official extensions for common software such as Magento, Woo Commerce, etc. You could also use a service like Zapier which connects API together. Learn about 'Stannp and Zapier here'.
You can add an optional parameter “test=true” when creating a postcard or letter to be able to get the sample pdf with it actually being sent and without affecting your balance. Tests do not show in the Reporting section. We do not have sandbox accounts.
Tests do not show in the reporting section. However, you can see every request you send through in the API request log, you can access this by this URL here: https://dash.stannp.com/api-log or, by settings -> API request log. This is a particularly great tool for reviewing what we receive from your API requests.
All API requests return a JSON response and adhere to HTTP response codes.
Although those mentioned below are the main response codes, there are a few more than can come up. Read more on on our detailed article https://knowledge.stannp.com/what-does-the-api-response-code-mean.
You can use the API to: