How to get twilio phone rental rates via API - twilio

I'm writing an application that needs to rent numbers via the API, but I need to know the rental rates of the phone before I rent a number. Is this possible via the API? I saw a lot of info on voice rates and sms rates via csv files etc. but nothing on the rentals.

Twilio evangelist here.
You can find a pricing sheet for phone numbers here:
https://www.twilio.com/resources/rates/international-phone-number-rates.csv
Its linked off of the Voice page on twilio.com:
https://www.twilio.com/voice/pricing
Hope that helps.

Related

Twilio: claims they support group MMS conversations but don't?

Twilio claims they support group MMS conversations: https://www.twilio.com/blog/group-mms-texting-for-businesses
However, the documentation links they provide goes to a 404 page: https://www.twilio.com/docs/conversations/group-texting
I'm trying to figure out of Twilio can support a group MMS conversation among several people on their mobile phones having a conversation with a Twilio number in a group conversation.
If you're on your mobile phone's texting app, and you send a text to multiple people at once, it's converted to MMS and is a group conversation among multiple people. It is not sending separate SMS messages to each person, but rather an actual group conversation.
I've been looking at Twilio's API docs for their Conversations (https://www.twilio.com/docs/conversations), but it doesn't look like they actually support group MMS, or at least I cannot get it working.
The closest I could get was creating a Twilio number participant with 3 other participants, but on each person's mobile texting app, they saw the messages from everyone else come across as just the Twilio number. Effectively it was a "2-way" conversation with the person and Twilio's number, but multiple people could be the Twilio number behind the scenes.
Bandwidth texting service provides actual group MMS, where I can send a message to an array of phone numbers via the to and it works just as expected. The issue is they are expensive with minimum monthly costs I was hoping to reduce.
It's a little frustrating, because Twilio announced in 2021 they supported group MMS, but none of their docs or examples seem to actually implement this.
Am I missing the docs somewhere or need to configure some setting for group MMS?
Group MMS has been put on hold. The ecosystem migration to 10DLC routes introduced compatibility issues at the carrier level, so this issue impacts all CPaaS providers, when using Group MMS over 10DLC routes (which is a requirement for A2P traffic).
Limitation to Group MMS
https://www.twilio.com/changelog/limitation-to-group-mms
A workaround is to use Twilio Conversations which will allow a one:many distribution of messages. The only difference is the parties that art part of that conversation won't appear in the mobile devices message client address bar.
If you have activated group texting before march 2022, you can still use twilio's group APIs as they are kind of deprecated only for newer uesrs.
Try using the twilio docs after signing in, if you are older user you'll not get 404.

How to test international numbers between Twilio and a service like TextMagic

I'm trying to set up our app to send SMS with Twilio. The person who does a lot of our testing lives overseas, so I need to obtain a US phone number that she can use so she can do her testing. I got a number via TextMagic, but when I try to add it to the list of verified numbers on my Twilio dashboard, the verification code (seemingly) never gets sent to the TextMagic number. Is there some sort of restriction on Twilio's side regarding numbers generated from services like TextMagic? Any info would be greatly appreciated!
Twilio developer evangelist here.
I'm not aware of anything that would necessarily restrict things between Twilio and TextMagic.
Can I suggest using another Twilio number to test things? It does work to send between Twilio numbers and you'll need the same knowledge to setup the Twilio number as to use it as a test number.

Facing issue while sending SMS with Twilio Copilot

I am trying to work on Twilio Copilot. I have created the SID.I have also assigned a UK number .I need to send messages to UK, US and South africa for now.
I am currently facing problem is sending messages to US. Do i need to assign a seperate US number for it to work (Same for Other Countries)?
I am using C# Twilio 4.7.2 library.
Twilio developer evangelist here.
My guess is that you have a UK landline number. That is a number that currently supports voice and messaging and starts +441, +442 or +443.
UK landline numbers cannot currently send international SMS.
If you still want to use a UK number to send international messages, you can get a UK mobile number, which will start +447, though currently these numbers do not support incoming voice calls.
Best practice for sending international messages is to try to use a local number to send them. When you are using Copilot it will automatically geomatch the best number to the location you are sending to.

Is the right way use Twilio for verifying mobile phone numbers?

I want to verify mobile phone numbers. The mobile phone numbers can be from anywhere, I mean any country. My idea is to send an sms with a code, and then ask for that code.
I am not sure if Twilio is a correct choice for doing that, because I do not understand if with a phone number from Twilio I am able to send messages around the world. I am also not sure about the costs of sending messages.
Is Twilio right for this or should I look for another service?
Thanks
Twilio developer evangelist here.
You're totally on the right track. With a Twilio number you can send SMS messages to over 200 countries, and get local numbers in over 40 countries. Have a look at this FAQ for more information.
Have a look at this blog post where we show you how to use Twilio to verify phone numbers on the way you asked.
You will find pricing information in this page, and it will vary slightly from country to country.
Hope this answers your question.
You can also test other similar verification service.
www.foneverify.com is one such service providing verification across the globe.
You can try our services by signing up for free.
Disclosure: I am the product manager of foneverify.
Thanks,
Shivam

Can I retrieve the location of a phone number with Twilio?

I'm working on a project that uses the Twilio API to send and receive text messages, but I'd like to be able to show the location of those cellular users in a table on my customer's dashboard.
In short, I'm looking for the data that shows up when you're shopping for a phone number on Twilio and it tells you it's from Newport Beach, California, etc.
Is there any way to retrieve that information from Twilio for a number besides one that is available for purchase?
Twilio Evangelist here. When Twilio makes a request to your server using a web hook, the SMS and voice will sometimes have geographical information.
FromCity
FromState
FromZip
FromCountry
But this information is not always available. There is no facility in the API to allow you to look up these outside of this context.
Hope this helps!

Resources