Choosing a phone number for SMS

Choose a phone number for sending and receiving SMS.
View as Markdown

If you want to send and receive SMS in Voximplant, make sure that the chosen region and phone category support SMS functionality when purchasing a phone number. Note that virtual numbers do not support SMS.

To check if the number is suitable, go to the numbers section in your control panel, click buy a new phone number, and select a number. If the selected number does not support SMS, the following note appears:

No sms support

If you do not see this message, the number supports SMS functionality:

Buy a number

HTTP API request

You can check which numbers support SMS via the GetPhoneNumbers HTTP request with country_code and phone_category_name. If the is_sms_supported property equals to true in the returned object, the phone numbers in this region support SMS.

HTTP request — Request
1curl "https://api.voximplant.com/platform_api/GetPhoneNumberRegions/?api_key=API_KEY&account_id=1&country_code=GB&phone_category_name=MOBILE`"
HTTP request — Response
1{
2 "result": [{
3 "is_need_regulation_address": false,
4 "country_code": "GB",
5 "phone_region_id": 27085,
6 "is_sms_supported": true,
7 "phone_count": 408,
8 "phone_installation_price": 0.0,
9 "phone_region_name": "7",
10 "phone_period": "0-1-0 0:0:0",
11 "phone_category_name": "MOBILE",
12 "phone_price": 1.2,
13 "multiple_numbers_price": [],
14 "phone_region_code": "7"
15 }],
16 "count": 1
17}