What Could I Do When OTP Message is Not Delivered on WhatsApp?

There are several reasons why the WhatsApp OTP message is not delivered to your customers, for example:

  1. Your customer phone number is wrong
  2. The phone number is not registered on WhatsApp

To get the status of the message you sent, you have to setup API for the webhook URL.

API:

[POST] https://multichannel.qiscus.com/whatsapp/{{APP-ID}}/{{channel-id}}/settings

Example request:

curl -X POST 
https://multichannel.qiscus.com/whatsapp/evo-36nshcjendhebshebd/7xx/settings
-H 'Qiscus-App-Id: evo-36nshcjendhebshebd'
-H 'Qiscus-Secret-Key: xxxxxxxxxx'
-H 'Content-Type: application/json'
-d '{
"webhooks": {
"url": "YOUR_DOMAIN_URL.com/receive_webhooks"
}
}'

Example response:

{
"business_id": "3XXXXXX616XX523",
"status": 200,
"webhooks": {
"url": "YOUR_DOMAIN_URL.com/receive_webhooks (http://your_domain_url.com/receive_webhooks)“
}
}

HEADERS

Qiscus-App-Id : {{APP-ID}}
Qiscus-Secret-Key : {{Secret Key}}
content-type : application/json


BODY

{
"webhooks": {
"url": "YOUR_DOMAIN_URL.com/receive_webhooks"
}
}


You can read the details about settings the webhooks in WhatsApp Business API in this documentation.

If the WhatsApp OTP message is not delivered to your customer, you can use another method to send the OTP. For example, you can use other channels (e.g SMS, Email, and many more) that are integrated with Qiscus Multichannel.

Need further assistance?

Our helpful customer support team is available to help you with any inquiries you may have

Contact Us