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 (15)     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 (15)
  • Connielen

    29/August/2025 04:59

    I am in truth enchant‚e ' to glitter at this blog posts which consists of tons of profitable facts, thanks object of providing such data. http://www.kiripo.com/forum/member.php?action=profile&uid=1193116

  • Connielen

    24/August/2025 03:44

    buy generic xenical for sale - buy orlistat generic xenical 120mg ca

  • Connielen

    21/August/2025 03:55

    order dapagliflozin 10mg generic - click forxiga 10 mg usa

  • Connielen

    14/August/2025 15:55

    Good blog you possess here.. It’s severely to find great calibre belles-lettres like yours these days. I truly appreciate individuals like you! Go through care!! https://sportavesti.ru/forums/users/lvkqv-2/

  • za42g

    24/July/2025 23:51

    More posts like this would bring about the blogosphere more useful. https://aranitidine.com/fr/viagra-professional-100-mg/

  • qbqd7

    22/July/2025 10:33

    I’ll certainly carry back to read more. https://prohnrg.com/

  • Connielen

    21/July/2025 05:08

    More posts like this would create the online space more useful. https://ursxdol.com/azithromycin-pill-online/

  • nnjvy

    19/July/2025 15:46

    More text pieces like this would urge the интернет better. prednisone and hair loss

  • Connielen

    18/July/2025 22:12

    Proof blog you have here.. It’s intricate to espy strong status belles-lettres like yours these days. I truly respect individuals like you! Rent vigilance!! https://gnolvade.com/

  • 0kbht

    17/July/2025 14:44

    viagra 50 off coupon - buy viagra australia online street value of viagra 50mg

  • Connielen

    16/July/2025 01:46

    ranitidine usa - https://aranitidine.com/# brand zantac 300mg

  • buyne

    15/July/2025 10:23

    buy cialis cheap fast delivery - buy tadalafil online no prescription when will generic tadalafil be available

  • a1y0s

    12/July/2025 01:49

    buy generic cenforce 50mg - this buy cenforce 100mg for sale

  • uqlmu

    10/July/2025 13:23

    oral diflucan 100mg - flucoan fluconazole 200mg us

  • ulqoo

    07/July/2025 05:01

    order amoxicillin - amoxil tablet cheap amoxil generic

Leave a Reply

Your email address and mobile will not be published.

Trending Blog
Related Blog

16/October/2024 17:38 Comments (17)
How to change email ID in account?
17/October/2024 16:16 Comments (19)
How to replace Fast2SMS?
16/October/2024 18:39 Comments (15)
How to setup OTP SMS API in your code?

Subscribe our Newsletter