Sinch offers a platform for phone number verification. It consists of different software development kits – the Sinch SDKs – that you integrate with your smartphone or web application and cloud based back-end services. Together, they enable SMS, Flashcall, Callout and Seamless verification in your application.
When using Sinch for Verification, the Sinch dashboard provides 4 possible ways of verifying a phone number available both on iOS and Android devices. In some cases the SDK can automatically intercept the verification code and pass it back to Sinch backend, however your application should always be prepared to present a text input field in case of automatic extraction failure.
The verification methods that are currently supported are:
- SMS - Number is verified using a verification code that is sent in a SMS message. On Android, automatic code extraction is available, however on iOS an input field must be always presented and the number has to be typed manually by the user.
- Flashcall - Sinch initializes a phone call to the number that is being verified. After that, a verification request containing the full number of the incoming call has to passed to Sinch backend to authenticate the user. In case of Android it may happen automatically (SDK intercepts and passes the number without any user engagement) or manually by typing the number in a text field.
- Callout - User obtains the verification code by answering an incoming Sinch phone call, during which text-to-speech software will speak it out loud. The code has to be typed manually.
- Seamless - Sinch uses telephony provider infrastructure to verify the phone number without any user interaction. Because of that, for this method to work, the mobile data should be enabled.
The Sinch Verification service takes care of all the different steps in a verification process and let developers focus on building great application while easily reinforcing their sign up and login processes.
Note: If you use SDK it is mandatory to use callbacks to secure all transactions, i.e. when the application is configured as "public" security, the callback is used to allow/deny each transaction.
Back-end services such as authorization or data consolidation are also exposed over REST APIs, primarily for back-end to back-end integration.
Getting started with the Sinch Verification API and SDK is simple thanks to the extensive documentation for each platform and the different tutorials and sample application available together with the SDKs.
In most cases, Sinch can be used without needing a back-end or any configuration just follow these steps.
- create an account,
- download the SDK
- Get started in minutes by following one of the user guides below.
The SDK and REST API work together to ensure you the highest possible security and a full control over the verification solution. We recommend the following approach to integrate any of the Verification SDK in your apps:
- Use the SDK to initiate verification requests.
- Use the Verification Request Event callback to:
- Authorize a given verification request to be started.
- Control the amount of retries a single user can attempt.
- Control if a given phone number can be associated to multiple accounts.
- Let the SDK automatically intercept (Android only) and report flash calls/SMS to the Sinch backend.
- Consolidate the final verification status in your backend using the Verification Result Event callback.
Keep track of verification success rates and results in real time through the Sinch Dashboard. For each verification method, get accurate metrics on how your app is performing:
- Delivery rate: percentage of numbers who could successfully be reached, phone ringing or SMS delivered.
- Conversion rate: percentage of unique numbers who could successfully be verified.
Verification pricing is calculated on a per request basis. A fixed price is charged for each flash call attempted and a SMS price (depending on country and operator) is charged for each SMS verification attempt.
If you have any questions, feel free to check out our help section or contact us.
Updated 27 days ago