How to create a Flow ID to Send SMS via API?


1. Log in to the MSG91 user panel and select SMS.



2. You will be directed to the Templates section in the sidebar. Click on the Create Template button on the top right.



3. Type your Template Name, DLT Template ID (only for India). Select the sender ID that has been mapped already with your MSG91 panel, and message content to be sent (the Exact message content as approved in the DLT portal in case of India). You can add variables from Add Variable option given below the message box. Once done, click the "Create" button.


NOTE: Variables should be added here in the format as ##name## or ##var##. Video



4. The template will be created and will show Pending/Rejected. Refresh the screen after some time and the status would be updated. You can copy the Template ID from the copy icon. The version history helps you can keep a track of edits made to your existing templates. Click the dropdown from the 3 dots available on the right side of the template. Add version from the Add version option or Duplicate it to make edits to the existing template.



Once the template is approved, don't forget to mark the latest version active by the Mark default option.

You can use these templates to send SMS in the following ways. 


1. Campaign (Multi-channel where you can add other services like Email, Whatsapp, and Voice also)- HelpDoc [Recommended]


2. SMS API (If you have a specific use-case where you want to use the dedicated SMS API only and not use any other channels)- API Doc


3. Google Spreadsheet Plugin- HelpDoc