Here’s an example of how to use the toBinding parameter to send multi-channel notifications without storing addresses in Notify. For Facebook Messenger it is the Messenger ID. For APNS, GCM and FCM it is the device or registration token. For SMS it is the phone number in E.164 format. Possible values: sms, apn, gcm, fcm, facebook-messenger. binding_type – The channel to be used.ToBinding Parameter: The destination address in a JSON object. This is typically sufficient for 10,000 phone numbers. However, the total size of the request entity should not exceed 1MB. You can send notifications to addresses without storing them by using the toBinding parameter. With the Passthrough API, you can use a single API request to send multi-channel bulk SMS messages or notifications to your entire database of residents in the affected area. What’s more critical is that this information needs to be conveyed in a timely manner. Send disaster alerts – If there’s been a natural disaster, help centers need to inform disaster zone residents about things such as helplines and first aid.With the Passthrough API, this just got simpler-you can use a single API request to update all your customers on all available channels. Sending this information on multiple channels is a good way to increase your chances of getting notified. Send emergency notifications – In the event of a service disruption, companies might need to inform their customers about the events-usually in a reliable and timely manner.Once the target list is identified, all you need to do is just use that list and make a single request to Twilio that notifies everyone on the list across all channels. This is typically stored, analyzed and segmented to create a target list in the CRM system. Make marketing announcements – Companies collect contact data (addresses such as phone numbers) from a number of applications, website sessions, and referrals.Passthrough API is useful if you need to: The code executed successfully and on the twilio logs, it is coming. Wrote the code, as present in the docs and tested over a API hit. Multichannel support – One API request to run multi-channel campaigns As part of the requirement I created a Notify Service and Messaging Service with the existing number used for normal sms service and linked them up under my Trail Twilio Account.Simpler application – One API request to send up to 10,000 SMS messages.You can even mix multiple channels in a single request. What’s even better is that it can be used not just for SMS, but for all the other channels supported by Notify like iOS and Android push notifications, web push via FCM and APNS, and Facebook Messenger. Now, businesses can send bulk SMS notifications with a single API request via Twilio Notify. If this list was too long, making API requests would consume too much time. In the past, if developers needed to notify many users, they’d have to do so by making a unique API request per recipient from their list of user addresses. We are excited to announce Passthrough API-an addition to the Notify API that simplifies the way developers can build bulk SMS in their applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |