Empowering Minds with Tech Knowledge.

How to setup OTP SMS API in your code?

How to setup OTP SMS API in your code?

22/February/2025 16:38    Comments (3)     Share:        Bookmark

Note: If you have bought OTP after 1/Mar/2025, then use below API.

1. Once you purchase the OTP SMS service, you will get your API Key in your client area.


2. Use the PHP code below to send the OTP from your website/application. If you want, you can use API to integrate in any language. We are using PHP here, because of high demand by users.

$num="Enter mobile number here";
$otp="OTP number to send";
$dv_key="Enter key here";

$arrContextOptions=array(
"ssl"=>array(
"verify_peer"=>false,
"verify_peer_name"=>false,
),
);
$otp_url="https://dvhosting.in/api-sms-v3.php?api_key=$dv_key&number=$num&otp=$otp";
$response = file_get_contents($otp_url, false, stream_context_create($arrContextOptions));

?>

Comments (3)
  • big bass bonanza

    13/October/2025 06:34

    With thanks. Loads of conception!

  • hxmta

    11/October/2025 02:43

    This website positively has all of the information and facts I needed adjacent to this participant and didn’t comprehend who to ask. order tamoxifen 20mg online cheap

  • Dgczdow

    08/October/2025 16:07

    You can conserve yourself and your family nearby being alert when buying panacea online. Some druggist's websites manipulate legally and put forward convenience, privacy, bring in savings and safeguards to purchasing medicines. buy in TerbinaPharmacy https://terbinafines.com/product/zanaflex.html zanaflex

Leave a Reply

Your email address and mobile will not be published.

Trending Blog
Related Blog

16/October/2024 17:38 Comments (3)
How to change email ID in account?
03/February/2025 19:43 Comments (1)
How to send message using WhatsApp API?

Subscribe our Newsletter