We are thrilled to introduce Enhanced Destination Number Validation on Plivo SMS API platform. The platform now has the capability to identify invalid and non-SMS enabled destination numbers, and also fix incorrect formats of destination numbers which will result in better delivery rates and better end-user experience. This update will bring multiple benefits to our customers:
Since we won’t be accepting messages to invalid destination numbers for delivery, we would not be charging for them either - which means cost-savings straight away.
Synchronous Handling For Invalid Numbers:
Since SMS API requests to invalid and not-SMS enabled numbers will be rejected with a 400 Bad Request API response, customers will now be able to propagate the invalidation error upstream easily. Let us take the example of an OTP use case, to illustrate the above:
Step 1: End-user requests for OTP on an invalid destination number.
Step 2: The customer initiates a Send SMS API request.
Step 3: Plivo returns 400 Bad Request response synchronously.
Step 4: Customer displays ‘invalid number’ error to end-user.
Format correction for phone numbers
The platform now has the capability to intelligently reformat incorrectly formatted phone numbers. For example
Scenario 1: If the user enters the Lithuanian number 370860112345, it is reformatted to the E164 international format +37060112345 before being forwarded to downstream carriers. Notice the missing 8 in the formatted number. 8 is only required when dialing a Lithuanian number from inside Lithuania.
Scenario 2: If the user enters the Mexico number 520455512345678, it is reformatted to the E164 international format +5215512345678. Notice that 045 has been replaced 1. 045 is only to be used when dialing a domestic cell phone from a landline, whereas 521 is the prefix for mobile phone numbers in E164 format.
Enabling Enhanced Destination Number Validation
All new Plivo customers will have Enhanced Destination Number Validation For SMS enabled by default.
Existing customers can enable Enhanced Destination Number Validation For SMS from the SMS Settings page of the Plivo Console. We recommend all our customers to enable this feature.
Note: Landlines in the US, Canada, and the UK can be enabled for SMS. Therefore, Plivo will not reject SMS messages to landline numbers in these countries.