SMS & OTP

SMS Block Number V2

Changed on

SMS OTP version change is by introducing a new API version release.<br>

Version changes usually need to be applied immediately to the latest version, in order to get a better API usage experience than the previous version.<br>

The benefits you get if you use a newer version are as follows.

  • Decreasing processing time in API Request and Response
  • Improve feature in SMS: Blocking Request, Spam Check, Sequential Phone Number, and Blocked Numbers
  • Increase RPS in SMS (before 30rps to 50rps)
  • Better developer environment to support future developments
  • Improve logging and monitoring on our side
  • Improved dependencies and improved service stability<br>

This method helps you to block phone numbers to not be able to receive message from SMS OTP & SMS Notifications and Promotions services

post/v2/sms-otp/blocked-numbers

Request

  • Base URL
    https://api.verihubs.com
  • URL
    https://api.verihubs.com/v2/sms-otp/blocked-numbers
  • Auth
    none declared. Required headers: App-ID, API-Key

Headers

App-IDstring required
API-Keystring required

Request body

msisdnstring required

Destination Phone Number. You need to include the international prefix number and also find your local prefix number here.

descriptionstring required

Describe reason for blocking specific phone number.

Example request

{
  "msisdn": "62839102839",
  "description": "Fake number"
}

Response

Successful Response

messagestring required

Message

Example response

{
  "message": "Number successfully added to block list"
}

Changes

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status