SMS API Integration for a button click event

how to integrate sms api in thunkable in a button click event
following is the url

url: http://sms.whitesun.co.in:6005/api/v2/SendSMS?ApiKey=xxxxx&ClientId=xxxx&SenderId=WHTSUN&Message=Testing&MobileNumbers=xxxxx

please help me out in this regard

@whitesunsystemsoluti

Thank you for sharing your blocks, that is VERY HELPFUL!!!

Every Web API (REST API) is different. So when working with a new API, I recommend you capture the results like this so you can see (and share) all 3 of the values returned by the Web API block

image

One thing I can see that looks problematic is the query parameter block. The text you have assembled will work if you join it to the URL, but the QueryParameters block typically requires something like:

image

Make those modifications and let us know your results.

Happy Thunking!

1 Like

Most of the SMS gateways uses simple URL compilation.

First try the open link component in the control drawer and put all your text in the URL. It should work. I use “easysendsms” service this way and it is working fine for me.

1 Like