Integrate MSG91 with Viasocket

Ravi Paliwal
Socket Basics and its Use-Cases
2 min readAug 9, 2017

--

ViaSocket is built for using and managing third party APIs.

Follow these simple steps to integrate MSG91 SMS with your system.

1. Create an account on viasocket.com.
2. Login to viasocket.com and create a flow with any desired name (MSG91).
3. After creating a flow you will find the Socket URL, something like
https://sokt.io/ZAwSAjDz5LSYMpY66D3c/personal-msg91?authkey=rXXXXXXXx1yuiXXX
4. Copy the Socket URL.

starting with socket URL

5. Now you have to POST all you data/parameters (mobile number and SMS content) on Socket URL (for CRM users, update Socket URL in your web-hook or in your code and start sending parameters on Socket).
6. When you post your first API hit on Socket URL, click on skip setup (the blue button in the center) and check Socket. Your posted data would be there.

adding parameters to socket

7. Click on the parameters you have received (check above image) and ADD them to Socket.
8. After adding the data, you need to setup MSG91 API for sending SMS on your received data.
9. Click on the ‘Add a plug(API)’ button, then click on ‘+ Explore Marketplace’ button and search for MSG91 in the search field.
10. Select MSG91 add-on and then select ‘Send SMS via MSG91’ template, then click on ‘Use it’ button.
11. Now start configuring MSG91 API.
12. Use added parameter in MSG91 configuration fields, as shown in below image.

select parameter in MSG91 add-on configuration

13. After completing the configuration click on ‘Create’ button and you are ready to send SMS with MSG91 from your code or CRM.

Hints: Route=4 will be for transactional SMS, keep SenderID (6 characters alphabetic) static/fixed, and keep static authkey. Kindly refer to the image below.

PS: Just like MSG91 add-on, you can create your own add-on by adding their API or you can use any third party application by selecting from Marketplace or writing your own code viaSocket.

--

--

Tweet me Hello “rpaliwal71”. I am Tech entrepreneur building team productivity suite, 14 Years in SaaS, previously build msg91 and viasocket.com