Customized sms sender name3/22/2023 The body of the response will contain the Twilio specific error details, including a Twilio error code and error message. Send a message using an alphanumeric sender ID to a number in a country that doesn’t support it and the Twilio API will respond with an HTTP 400 response. If you are sending to multiple countries and one of them, like the US, doesn’t support alphanumeric sender IDs then there is a bit more work to do. Well, ok, it’s that simple only if you are sending SMS messages to one of the 145 countries that support this feature. 145 countries is not all all the countries We replaced the phone number with a string of text and that was all there was to it. You may have seen how to send an SMS message from a phone number before, but here’s a quick recap:Īs you can see, there’s only one change. Ruby and the Twilio Ruby gem ( gem install twilio-ruby)Īnd that’s it, so let’s get on with sending some SMS messages! Sending SMS messages.A Twilio phone number (you don’t need this to send from an alphanumeric sender ID, but you’ll see why you need it soon).A Twilio account (to use alphanumeric sender IDs, you will need to upgrade your account and contact Twilio support to enable your account).I’m going to demonstrate sending an SMS message from an alphanumeric ID using Ruby, so if you want to follow along, you’ll need the following: Ready to start sending branded SMS messages? Let’s get on with it then. Your business name or brand is fine, but if you try to get too creative things can really backfire. You should also think carefully about the sender ID that you choose. As such, if you choose to use an alphanumeric sender ID you will need to provide alternative ways for users to opt out. This style is great for alert or broadcast type messages, but no use for interactive applications as users cannot respond to an alphanumeric sender. A word of warningīefore we dive into the code, there are a few things you should know about alphanumeric sender IDs. Now I can use Twilio to enhance the experience I provide users receiving my SMS messages by sending text messages with an alphanumeric sender ID to any of 145 countries around the world. This is great as I instantly recognize the name of the business sending me the message instead of seeing an incoming message from an unknown number. Being based in the UK and traveling often in Europe I regularly receive SMS messages with a business name as the sender ID instead of a phone number. It’s been a few months since we hosted Signal and in this post I wanted to spend some time exploring one of the announcements that I found pretty exciting: alphanumeric sender ID’s.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |