How can I integrate SMS API
2. Select the SMS option from the dashboard
3. Under "SMS", click "Support" in the sidebar & Select the API documentation option on the dropdown.
4. API documentation will get opened.
5. You can fill in the parameters, such as template ID (MSG91 template ID), mobile number (including country code), and variables, to get the final API. In the header option, enter the Authkey, and then press "Try" to send the SMS. On the right side of the panel, by clicking on the "more" option in Sample Codes, you can get the API codes in various languages.
NOTE:
Variable values keep on changing, you may have 1, 2, 3 variables: or so. Pass the variables in the API depending on the variables you have in your flow and write the variable in the exact format as you did while creating the flow (this is case-sensitive as well).
1. The mobile variable will always be dynamic, and you have to insert it into the API, which is the mobile number of the user to whom you want to send SMS.
2. To shorten the URL in your content, pass the value as 1.
3. The message variable can be static or dynamic, as per your implementation.
4. The authentication key always be static.
5. In case you want to send the promotional message using the numeric sender ID then please add the parameter route=1 in the payload.