Intermediate Delivery Reports – Make The Most Of 2-Factor Authentication
When sending one-time PINs (OTP) in SMS messages to your clients or users phones as part of the 2-factor authentication process, you need to take care about couple of things. More often than not, you’ll need one-time PIN codes delivered in real time, or near real time, and this has been the critical aspect of the 2FA service for online companies and mobile apps for quite some time now. Failed or delayed delivery of the SMS message which carries an authentication code is directly related to conversion rates – i.e. successful mobile app activations, successful login etc.
There are many reasons why your message can’t be delivered this exact second – sometimes it happens because your user turned off the phone, or their phone storage is full, the list goes on and on. Waiting for a final delivery report or SMS message timeout period to expire so you get a GSM error code is time-consuming and really not an option if you want to provide your users with real-time 2-Factor Authentication (2FA).
Intermediate delivery report is set as one of the parameters of the Fully featured textual message API method. It is pushed over the same Notify URL as the final Delivery report.
As soon as any non-permanent GSM error has been received (i.e. EC_ABSENT_SUBSCRIBER) by the Infobip system, our SMS API based intermediate reports (delivered in real time) will forward it to your Notify URL placed to your callback servers.
Besides GSM errors, you will also receive real-time pricing information, message status, network and country codes.
If you want more info regarding GSM error codes and message statuses, check out our Response codes page.
*Notify URL is set as one of the parameters of the fully-featured textual message API method.
The example bellow shows how to set intermediateReport for instant message information as well as notifyURL, notifyContentType for the reports and the user’s callbackData.
The result you will receive on your Notify URL will have the same structure as the Final delivery report.