Apple’s Shortcuts

Previously known as Workflow, Apple’s new automation app, Shortcuts, lets users create powerful workflows and automation with simple building blocks that can be triggered with a tap of a button. One of the best things about Shortcuts is its ability to interact with any web API.

What you’ll need

Send Bulk SMS Using Apple’s Shortcuts

  1. Open Shortcuts and tap Create Shortcut, or + from the upper-right corner of the screen. Then, search for URL, and type in your SMS API endpoint, as shown. Your endpoint can be found in your API Keys, and will be in the following format: https://api.wavecell.com/sms/v1/{subaccountid}/single

  2. Add another action by searching for “Get Contents of URL”. Under Advanced, select POST as your Method. Add Headers as follows:

Authorization | Bearer {api key}
Content-type | application/JSON

  1. Add a request body by selecting JSON. Fill out the following fields in your request body:
Destination – The mobile number you are sending the SMS to
Source – Your Sender ID
Text – Your text message content

  1. Now run it by clicking on top. You should receive an SMS (if you use your own mobile phone) and see a JSON response.

Sending Bulk SMS Using An Excel File

Wavecell’s SMS API supports sending SMS for multiple numbers using a .csv or excel file. Using this API endpoint, you will be able to create a Shortcut that will send SMS to multiple numbers. To simplify things for you, we’ve already made the shortcut that you can reuse or modify to your own preference. Access our shortcut now.

All you have to do is change the following information on the shortcut we’ve shared. For the SMS API endpoint, it should follow the following format: https://api.wavecell.com/sms/v1/{your sub-accountId}/many/compact

Your headers should be as follows:

Authorization | Bearer {api key}
Content-type | application/json

To run your shortcut, you need an excel file with the phone numbers stored on your iOS device. Just share the excel file with Shortcuts, we’ll use this shortcut to parse the excel files before sending the data to the API. Fill in the message body and sender ID that you’d like to send from, and that’s it!