Pricing

Postman

Reading Time: 3 minutes

Postman How-to for Beetexting OpenAPIs

How to Call Beetexting OpenAPIs using Postman ?

We can use a tool like Postman to test the APIs.
The endpoint URL is as per below :
https://connect.beetexting.com/prod
For all Beetexting OpenAPIs we need to set Authorization Headers as shown in below screenshots.
image6.png
Auth Type should be OAuth 2.0. In the ‘Add authorization data to’ field, “Request Headers” should be selected from the dropdown.
image7.png
image8.png
The Client Authentication field should be selected as ‘Send as Basic Auth header’ from the dropdown as shown in above image.
image9.png
In all screenshots above, Authorization Headers shown are referenced in section, ‘OAuth2.0 for Beetexting‘ in this document. That section also discusses how and where from we can get those values.
Only the x-api-key (API Key) will be used as request header as shown in below image. This is the API Key found in the Beetexting App under Integration > API Connect > Add New Client.
image10.png
Once we enter all values we need to click on ‘Get New Access Token’ to get to the authentication screen below.
image11.png
Beetexting OpenAPIs are OAuth2.0 based with is an authorization process. Beetexting OpenAPIs need to be authenticated first. Enter your Beetexting login credentials and select ‘Sign In’. Once logged in, you will be directed to the dialog displayed below.
image12.png
You can see the new Access Token as shown in below screenshot. You should then click on the ‘Use Token’ button to use this new Access Token.
image13.png
You can add any Params like :
from : The phone number from which the sms is being sent. The phone number of the sender.
to : One or more phone numbers of the recipients of the message separated by comma.
text : The sms text
e.g. as shown below :
image14.png
If a request body is needed, then they can be added as below :
image15.png
You can then click on the ‘Send’ button as seen in the image to fire the API request and can see the Response in Postman.