{"Status":true,"Message":"","Response":{"post":{"postuid":"ur6wq47zbb","tenantuid":"d8b744fc-2e70-4089-bb80-dd1d08f6c7b2","projectuid":"239698c5-f7eb-4574-8cc8-c6568f08b3a0","title":"Twilio Integration","slug":"article/ur6wq47zbb-twilio-and-daily-story-integration","html":"\u003Cp\u003EThe DailyStory integration with Twilio enables you to use the power of DailyStory\u0026#39;s marketing and automation tools with a powerful cloud communications platform: \u003Ca href=\u0022https://www.twilio.com/\u0022 target=\u0022_blank\u0022\u003ETwilio\u003C/a\u003E\u003C/p\u003E\u003Cp\u003EWhen enabled, Twilio allows you to:\u003C/p\u003E\u003Cul\u003E\u003Cli\u003ESend \u003Ca href=\u0022/article/2bj7cc7yl6-text-messages\u0022\u003Etext message\u003C/a\u003E campaigns and receive text message replies.\u003C/li\u003E\u003Cli\u003ESend \u003Ca href=\u0022/article/rf6pml06vg-push-notifications\u0022\u003Epush notifications\u003C/a\u003E to iOS and Android apps registered to your contacts.\u003C/li\u003E\u003C/ul\u003E\u003Ccite class=\u0022recommended\u0022\u003E\u003Cspan class=\u0022title\u0022\u003E\u003Ci class=\u0022fa-duotone fa-circle-exclamation\u0022 aria-hidden=\u0022true\u0022\u003E\u003C/i\u003ERecommended\u003C/span\u003E\u003Cp\u003EThe configuration for push notification requires Step 4 below which does not need to be done if you are only using text messages.\u003C/p\u003E\u003C/cite\u003E\u003Ch3\u003EConfiguring Twilio Integration\u003C/h3\u003E\u003Cp\u003EIf you already have a Twilio account, you can skip to step 2.\u003C/p\u003E\u003Col\u003E\u003Cli\u003ECreate a Twilio Account\u003C/li\u003E\u003C/ol\u003E\u003Cp\u003EVisit\u0026#160;\u003Ca href=\u0022https://www.twilio.com/\u0022 target=\u0022_blank\u0022\u003ETwilio\u003C/a\u003E\u0026#160;and create an account.\u003C/p\u003E\u003Cp\u003EYou can create a free account that comes with enough credits for you to experiment with DailyStory\u0026#39;s Twilio integration, but we recommend upgrading to a paid account as quickly as possible. You can start with as low as $20 as a credit on your Twilio account.\u003C/p\u003E\u003Cp\u003EWe also strongly encourage enabling \u0026#34;Auto Recharge\u0026#34; when you setup Twilio your billing information. This will automatically refill your account so that your balance never goes to zero.\u003C/p\u003E\u003Ccite class=\u0022warning\u0022\u003E\u003Cspan class=\u0022title\u0022\u003E\u003Ci class=\u0022fa-duotone fa-circle-exclamation\u0022 aria-hidden=\u0022true\u0022\u003E\u003C/i\u003EWarning\u003C/span\u003E\u003Cp\u003EIf you don\u0026#39;t enable Twilio\u0026#39;s auto recharge feature so that Twilio can auto-bill your credit card you risk messages not getting delivered if your balance goes to zero.\u003C/p\u003E\u003C/cite\u003E\u003Cimg class=\u0022lazy-load\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/07f21009ab3cc5ef3d5d6b8df05dc1a4.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Col start=\u00222\u0022\u003E\u003Cli\u003ETwilio API Credentials\u003C/li\u003E\u003C/ol\u003E\u003Cp\u003EAfter creating your account, you are ready for the first setup to connect Twilio to DailyStory.\u003C/p\u003E\u003Cp\u003EWhen you are logged in to your Twilio account, navigate to your Dashboard for your API Credentials. Copy the \u003Cb\u003EAccount SID\u003C/b\u003E and \u003Cb\u003EAuth Token\u003C/b\u003E. You will need these values in step 8.\u003C/p\u003E\u003Cimg class=\u0022lazy-load\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/206938854c219a603c169f3746401010.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Col start=\u00223\u0022\u003E\u003Cli\u003EPurchase a Twilio Phone Number (required for Text Messages)\u003C/li\u003E\u003C/ol\u003E\u003Cp\u003ETo enable DailyStory to send \u003Ca href=\u0022/article/2bj7cc7yl6-text-messages\u0022\u003EText Messages\u003C/a\u003E, you need to configure a phone number in Twilio. \u003Ccode\u003ENavigate to Phone Numbers \u0026gt; Buy a Number\u003C/code\u003E. You can search for an area code and number closest to your business number. Once you have created a phone number in Twilio, you can find it in your Twilio console as \u003Ccode\u003E\u0026lt;Active Numbers\u0026gt;\u003C/code\u003E.\u003C/p\u003E\u003Ccite class=\u0022recommended\u0022\u003E\u003Cspan class=\u0022title\u0022\u003E\u003Ci class=\u0022fa-duotone fa-circle-exclamation\u0022 aria-hidden=\u0022true\u0022\u003E\u003C/i\u003ERecommended\u003C/span\u003E\u003Cp\u003EIf you anticipate sending a high volume text messages we strongly recommend purchasing multiple numbers. We recommend 1 number for every 5,000 contacts you anticipate sending to. For example, if you plan to send up to 50,000 contacts we would recommend a minimum of 10 numbers.\u003C/p\u003E\u003C/cite\u003E\u003Cimg class=\u0022lazy-load\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/5ebaf247425d4114258ce9e377c6e728.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Ccite class=\u0022recommended\u0022\u003E\u003Cspan class=\u0022title\u0022\u003E\u003Ci class=\u0022fa-duotone fa-circle-exclamation\u0022 aria-hidden=\u0022true\u0022\u003E\u003C/i\u003ERecommended\u003C/span\u003E\u003Cp\u003ECopy purchased phone number as you will need it in Step 8.\u003C/p\u003E\u003C/cite\u003E\u003Col start=\u00224\u0022\u003E\u003Cli\u003ETwilio Notify (required for Push Notifications)\u003C/li\u003E\u003C/ol\u003E\u003Cp\u003ETo send \u003Ca href=\u0022/article/rf6pml06vg-push-notifications\u0022\u003EPush Notifications\u003C/a\u003E\u0026#160;you need to enable the\u0026#160;\u003Ca href=\u0022https://www.twilio.com/notify\u0022 target=\u0022_blank\u0022\u003ETwilio Notify Service\u003C/a\u003E\u0026#160;and provide a Service Id to DailyStory.\u003C/p\u003E\u003Cp\u003EPush Notifications will only be sent to Contacts that opted in to receive Push Notifications on their iOS or Android device and the App\u0026#160;\u003Ca href=\u0022https://dev.dailystory.com/reference/register-push-device\u0022\u003Eregisters the device id\u003C/a\u003E\u0026#160;with DailyStory.\u003C/p\u003E\u003Cp\u003EOnce added to your account, click the blue button \u003Ccode\u003E\u0026#34;Create Messaging Service\u0026#34;\u003C/code\u003E or select and existing messaging service.\u003C/p\u003E\u003Cimg class=\u0022lazy-load\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/c6901a87242e1e2edb9aebeb2dcfa416.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Ccite class=\u0022recommended\u0022\u003E\u003Cspan class=\u0022title\u0022\u003E\u003Ci class=\u0022fa-duotone fa-circle-exclamation\u0022 aria-hidden=\u0022true\u0022\u003E\u003C/i\u003ERecommended\u003C/span\u003E\u003Cp\u003ENote, there are additional steps required to configure Twilio for Apple Push Notification and Android Notifications. Please see Twilio\u0026#39;s documentation for further configuration steps.\u003C/p\u003E\u003C/cite\u003E\u003Col start=\u00225\u0022\u003E\u003Cli\u003EConfigure SMS Messaging Service\u003C/li\u003E\u003C/ol\u003E\u003Cp\u003E\u003Ccode\u003ENavigate to Programmable \u0026gt; SMS\u003C/code\u003E to create a new SMS Messaging Service in Twilio. This messaging service will give DailyStory access to numerous Twilio features and manage delivery of your text messages.\u003C/p\u003E\u003Cp\u003ECreate a new Messaging Service by clicking the blue plus button. This will open a popup window. Give your messaging service a friendly name and select \u003Ccode\u003E\u0026#34;Marketing, 2-Way\u0026#34;\u003C/code\u003E:\u003C/p\u003E\u003Cimg class=\u0022lazy-load\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/750920d556006a74d7447f298adfc978.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Col start=\u00226\u0022\u003E\u003Cli\u003EConfigure the new messaging service:\u003C/li\u003E\u003C/ol\u003E\u003Cimg class=\u0022lazy-load\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/f736cda913c14f9dd8d8676117a81379.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Ccite class=\u0022recommended\u0022\u003E\u003Cspan class=\u0022title\u0022\u003E\u003Ci class=\u0022fa-duotone fa-circle-exclamation\u0022 aria-hidden=\u0022true\u0022\u003E\u003C/i\u003ERecommended\u003C/span\u003E\u003Cp\u003ECopy the SERVICE SID value as you will need it in Step 6.\u003C/p\u003E\u003C/cite\u003E\u003Cp\u003ESelect the option to \u0026#34;Send an incoming_message webhook\u0026#34; this will allow DailyStory to receive replies to your text messages.\u003C/p\u003E\u003Cp\u003EIn DailyStory navigate to \u003Ccode\u003EAdmin \u0026gt; Integrations \u0026gt; Twilio\u003C/code\u003E and copy the Inbound Webhook URL (right click and copy URL):\u003C/p\u003E\u003Cimg class=\u0022lazy-load\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/aab4f1e5b7d15837859c757157701b3a.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Cp\u003EEnter this value in the message service Request URL.\u003C/p\u003E\u003Col start=\u00227\u0022\u003E\u003Cli\u003EAdd phone numbers\u003C/li\u003E\u003C/ol\u003E\u003Cp\u003EThe last step in Twilio is to add your phone numbers to your new messaging service. Just click the blue plus button to add numbers you already purchased. From the Programmable SMS page, select Sender Pool.\u003C/p\u003E\u003Cp\u003EHere you will find any number associated with your account. To add a number you purchased to your sender pool, click the Add Senders button.\u003C/p\u003E\u003Cimg class=\u0022lazy-load\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/fd2ed18da27a4ecb3dfae5fd64459db5.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Ccite class=\u0022recommended\u0022\u003E\u003Cspan class=\u0022title\u0022\u003E\u003Ci class=\u0022fa-duotone fa-circle-exclamation\u0022 aria-hidden=\u0022true\u0022\u003E\u003C/i\u003ERecommended\u003C/span\u003E\u003Cp\u003EIf you purchased more than 1 number, make sure all the numbers are added to your sender pool.\u003C/p\u003E\u003C/cite\u003E\u003Col start=\u00228\u0022\u003E\u003Cli\u003EConfigure DailyStory\u003C/li\u003E\u003C/ol\u003E\u003Cp\u003EIn DailyStory navigate to \u003Ccode\u003EAdmin \u0026gt; Integrations \u0026gt; Twilio\u003C/code\u003E and select the Twilio integration:\u003C/p\u003E\u003Cul\u003E\u003Cli\u003EEnter the \u003Cb\u003EAccount SID\u003C/b\u003E and \u003Cb\u003EAuth Token\u003C/b\u003E from step 2.\u003C/li\u003E\u003Cli\u003EEnter one of the purchased \u003Cb\u003Ephone numbers\u003C/b\u003E (this will be your primary number) from step 3.\u003C/li\u003E\u003Cli\u003EEnter the \u003Cb\u003EMessage Service ID\u003C/b\u003E from step 6.\u003C/li\u003E\u003Cli\u003EOptionally enter the \u003Cb\u003EService ID\u003C/b\u003E for Push Notifications from step 4.\u003C/li\u003E\u003C/ul\u003E\u003Cimg class=\u0022lazy-load\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/e93ee1ab2619ce100c82d632cba24000.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Cp\u003ENext, click Save.\u003C/p\u003E\u003Cp\u003EDailyStory will attempt to send a test SMS to \u003Ca href=\u0022/article/z8le8bw866-personal-settings\u0022\u003Ethe phone number you configured for DailyStory\u003C/a\u003E. This text message is sent to verify the integration is properly setup.\u003C/p\u003E\u003Ch4\u003ETroubleshooting\u003C/h4\u003E\u003Cp\u003EIf you received an error when saving your Twilio credentials it means that something is misconfigured with Twilio.\u003C/p\u003E\u003Cp\u003EFirst, we recommend double-checking the Account SID and Auth Token to ensure that the values are the same as the values provided in Twilio. This is the most common problem.\u003C/p\u003E\u003Cp\u003ENext, double-check that the mobile phone number used by DailyStory is a valid and working. The mobile phone can be found in\u0026#160;\u003Ca href=\u0022https://docs.dailystory.com/article/z8le8bw866-personal-settings\u0022\u003EAdmin \u0026gt; Personal Settings\u003C/a\u003E.\u003C/p\u003E\u003Ch3\u003EFrequently Asked Questions\u003C/h3\u003E\u003Ch4\u003EDo I have to setup Twilio integration to send SMS/Text Messages?\u003C/h4\u003E\u003Cp\u003EYes, if you want to send SMS/Text Messages to your customers as part of a campaign you must configure Twilio or another communication platform partner, such as Plivo.\u003C/p\u003E\u003Ch4\u003EDo I have to setup a Notify Service to send SMS/Text Messages?\u003C/h4\u003E\u003Cp\u003ENo, only setup a Notify Service (and set a Service Id in DailyStory) if you have an iOS or Android app that you would like DailyStory to integrate with.\u003C/p\u003E\u003Ch4\u003EDo you support other communication platforms?\u003C/h4\u003E\u003Cp\u003EYes, we additionally support Plivo for SMS marketing.\u003C/p\u003E","publish_status":0,"post_type":"Article","author":{},"featured_image_updating":false,"meta_description":"The DailyStory integration with Twilio enables you to use the power of DailyStory\u0026#39;s marketing and automation tools with a powerful cloud communications platform: Twilio When enabled, Twilio allows you to: Send text message campaigns and receive text message replies. Send push notifications to iOS and Android apps registered to your contacts. The configuration for push notification requires Step 4 below which does not need to be done if you are only using text messages. Configuring Twilio ...","display_toc":true,"has_workingcopy":false,"allow_indexing":true,"sort_order":1,"total_views":1394,"date_published":"2024-01-03T10:35:02","date_updated":"2025-05-16T19:21:00.2","date_created":"2025-04-24T15:03:11.673"}}}