Today I wanted to highlight one of my favorite tools that I use when testing out other peoples APIs. PostMan is a small plugin for Chrome http://www.getpostman.com and using this tool enables you to quickly search for errors and just play around with our reporting APIs.
So before we start head over to the chrome store and install it.
One of my favorite methods is the query number, and with this method you can verify that there is a valid phone number before you make a call to it. As an extra feature, we at Sinch keep track of a lot of bad numbers (fraudsters etc.).
The first you see when you launch postman is
Our API supports a range of authentication methods, and basic auth is one of them with appkey and secret. This makes it super easy for us to use Postman. Just click on basic auth and fill out your appkey and app secret like this
and click on refresh headers,
Next, enter the url in the url field
https://callingapi.sinch.com/v1//calling/query/number/15612600684 and press send (yeah thats my number, feel free to call me anytime).
Now here is the nice thing with PostMan. You get some pretty formatted Json and you should see below result:
The cool thing with this is that you send in pretty much what you want (46 0722 22 33 55, 1(561) 260 0684) and we will clean it. You must however send in a country code in the beginning.
For more info about each field out our documentation.
We’ve got a new tutorial for you! Our resident petrol head Christian Jensen has been on a steep learning curve, hanging out at racetracks and coming up with a really cool way to use SMS to manage signups and… read more
Since 1957, when a five-year-old boy with perfect pitch first phreaked AT&T switches and invented phreaking, phones have been a target for different types of fraud that costs customers and phone companies billions of dollars. However, if you’re using the… read more