WhatsApp Settings

Configure WhatsApp OTP and Message settings for each Application, with built-in fraud detection.

After Facebook approves your template, you can use it by setting it up in WhatsApp Summary under Settings. Settings are saved for one Application at a time. Settings you save for one Application do not change any other Application.

The Settings section has two tabs:

  • Authentication: for WhatsApp OTP. Includes basic OTP settings and fraud detection features.
  • Message: for WhatsApp Message.

Template Guidelines

When submitting your Template Message, keep the following in mind:

  • For OTP usage, your template should include at least one parameter "{{x}}"
  • Your template should not contain any spelling mistakes
  • Your template should be formatted correctly and include parameters
  • Your template should have a clear title name. For example, instead of "template_014", use "bus_ticket_details"
  • Your template cannot be edited once it has been submitted
  • Your template cannot contain any shortened URLs (like bit.ly)
  • Your 'body' section should be within the 1024 character limit

Authentication

Use this tab to set up WhatsApp OTP and to protect your account from misuse.

Part 1: Basic OTP Settings

  1. Go to the Verihubs Dashboard sidebar and click Activity under the WhatsApp section.
  2. Find the Settings section and open the Authentication tab.
  3. Select the Application you want to configure in the App Name field.
  4. Configure the fields below.
  5. Click Save.
FieldWhat it doesExample
App NameThe Application these settings apply to. Choose one from the list.My Test App
Template NameThe approved template used to send your OTP. Choose one from the list.otp_login_verification
Template ReviewShows the content of the template you selected, so you can check it before saving.–
OTP LengthHow many digits the code has. Choose from the list.6
Expiry TimeHow long the code stays valid after it is sent. After this time, the code no longer works. Units are in seconds (1–600).120
OTP Placeholder NumberThe position of the parameter in your template where the OTP code is inserted.1 (for {{1}})

Part 2: Fraud Detection

These features protect your account from misuse, such as someone sending a large number of OTPs to waste your quota. Each feature has its own Enable switch and works independently. By default, all of these settings are off for all application, use it according to your need.

Quick comparison

FeatureWhat it protects againstResponse when triggeredCharged?
Spam CheckRepeated OTP requests to the same phone number in a short timeError code 429, status 8 (Rejected)No
Auto Block Suspicious Phone NumberA phone number that receives too many OTP requests in one dayError code 409, status 9 (Blocked)No
Daily Sending LimitToo many OTP requests from one Application in one dayError code 429, status 8 (Rejected)No

What are error codes and statuses? When you send a request to Verihubs, we reply with numbers that tell you what happened.

  • An error code is a standard number used across the internet. 429 means "too many requests". 409 means "the request conflicts with a rule", which here means the number is blocked.
  • A status is a Verihubs number that describes the result of the message. 8 means Rejected. 9 means Blocked.

A request is each time your app (or the Dashboard) asks Verihubs to send an OTP.


Spam Check

What it does

When enabled, subsequent requests to the same phone number within the set timeframe are blocked with error code 429 and status 8 (Rejected). Rejected requests are not charged.

FieldWhat it doesExample
EnableTurns Spam Check on or off.On
Rate Limit (in seconds)The timeframe in which only one OTP request per phone number is allowed.60

Example: With a rate limit of 60 seconds, a user taps "Send OTP" five times in a row. The first request is sent. The other four fall inside the 60 seconds and are rejected, so you are only charged for the first.

When to use it: Turn it on to stop accidental repeated taps and simple abuse.


Auto Block Suspicious Phone Number

What it does

When enabled, a phone number that receives more OTP requests in one day than the allowed limit is blocked automatically. Verihubs adds it to the Blocked Numbers List with the description "Auto Block Suspicious Phone Number".

After a number is blocked, any new OTP request to it is rejected with error code 409 and status 9 (Blocked). Blocked requests are not charged.

FieldWhat it doesExample
EnableTurns Auto Block on or off.On
ThresholdThe number of OTP requests one phone number can receive in a day before it is blocked.5

What is a threshold? A threshold is the limit that triggers an action. Here, it is the number of requests one phone number can receive in a day before it gets blocked.

When the limit resets

  • The daily count resets at 00:00 GMT+7. It is a fixed time of day, not 24 hours after the last request.
  • Example: If a number receives its first request at 15:00, the count still resets at 00:00 that night, not at 15:00 the next day.

When the block ends

A number blocked by this feature is removed from the Blocked Numbers List the following month.


Daily Sending Limit

What it does

Sets the maximum number of WhatsApp OTP requests your Application can send per day. Once the limit is reached, new requests are rejected with HTTP 429 and status 8 (Rejected). The count resets at 00:00 GMT+7.

Use it to control your costs and to stop a sudden flood of requests, for example from a bug in your app or from someone misusing it.

FieldWhat it doesExample
EnableTurns the daily limit on or off.On
Daily Sending LimitThe maximum number of WhatsApp OTP requests this Application can send per day.10,000
Email / Email (optional)The email addresses that receive usage alerts. Click Add more email to add more addresses, or the ✕ icon to remove one.[email protected]

Email alerts: Verihubs sends an email to every address you added (up to 5 emails):

  • when daily WhatsApp OTP usage reaches 80% of your limit, and
  • again when it reaches 100% (the limit is reached).

What counts toward the limit

Every OTP request counts, whether the message was delivered or not. The limit is based on the total number of transactions, not only the successful ones. Example: With a limit of 1,000, if 900 OTPs are delivered and 100 fail, the limit is reached. If under special circumtances you want to add another 100 OTPs to sent, set the threshold to 1,100.

Example: With a limit of 1,000, you get the first email at 800 requests and the second at 1,000.

Tip: Use a team address that several people can read, so someone can react quickly. Set the limit above your normal busiest day.


Save Your Settings

  1. Check your settings.
  2. Click Save. And you're good to go! 🎉

Message

Use this tab to set up WhatsApp Message.

  1. Head to the WhatsApp Summary by scrolling the Verihubs Dashboard's sidebar and clicking Summary under the WhatsApp section.
  2. Within the page, you will be able to see the Setting section.
  3. First, select the Application ID you want to configure through the Application Name field.
  4. After you have chosen the Application ID, you can proceed to configure the Template Name.
  5. Once you're done, click the Save button. And you're good to go! Hooray!

Setting Up the Application ID Message

Within this part, you will learn to setup a new Application ID:

  • Head to the WhatsApp Summary by scrolling the Verihubs Dashboard's sidebar and clicking the 'Summary' under the WhatsApp section.

  • Within the page, you will be able to see the Setting section.

  • Firstly, you need to select the Application ID that you want to configure by selecting through the 'Application Name' field.

  • After you have chosen the Application ID, you can proceed to configure the Template Name

  • Once you're done, you can click the 'Save' Button. And you're good to go! Hooray!


Frequently Asked Questions

Do these settings change my other Applications?
No. They apply only to the Application you chose.

Am I charged for rejected or blocked requests?
No. Requests rejected by Spam Check or the Daily Sending Limit, and requests blocked by Auto Block, are not charged.

Do fraud detection features apply to WhatsApp Message?
No. They apply to the Authentication (OTP) tab only.


Troubleshooting

ProblemWhat to check
I get error code 429Either Spam Check rejected the request (more than one OTP to the same number within the Rate Limit), or your Daily Sending Limit has been reached. Wait and try again, or check your daily usage.
I get error code 409The phone number is on the Blocked Numbers List. Check the list, and see "Auto Block Suspicious Phone Number" above.
A request has status 8 (Rejected)Spam Check or Daily Sending Limit rejected it. Check which features are enabled for this Application.
A request has status 9 (Blocked)The phone number is blocked. See "Auto Block Suspicious Phone Number" above.

Did this page help you?