Your Login Box is Leaking Customers.
OneTapPass replaces frustrating OTPs with a seamless One-Tap Pass via WhatsApp that delights users and boosts sign-up rates. Turn logins into conversions.
OneTapPass replaces frustrating OTPs with a seamless One-Tap Pass via WhatsApp that delights users and boosts sign-up rates. Turn logins into conversions.
Transparent, pay-as-you-go pricing for our powerful WhatsApp verification and messaging API. No hidden fees, ever.
Affordable WhatsApp Verification & Cloud API Pricing: Get reliable and secure account verification with our official WhatsApp services at competitive rates. Our WhatsApp Cloud API ensures seamless integration for businesses looking to enhance user authentication and engagement. With transparent, pay-as-you-go pricing, you can trust OneTapPass for all your WhatsApp messaging needs, whether for verifications, customer support, or marketing.
Simple and powerful examples to get you started with our API.
curl -X POST https://api.onetappass.com/api/v1/ \
-H 'Authorization: Bearer API_KEY' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"recipient":"+919876543210",
"type":"otp",
"code":"123456",
"channel":"whatsapp"
}'
<?php
$api_url = 'https://api.onetappass.com/api/v1/';
$api_key = 'API_KEY'; // Replace with your actual API key
$data = array(
'recipient' => '+919876543210',
'type' => 'otp',
'code' => '123456',
'channel' => 'whatsapp'
);
$headers = array(
'Authorization: Bearer ' . $api_key,
'Content-Type: application/json',
'Accept: application/json'
);
$ch = curl_init($api_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
if ($response === false) {
echo 'cURL Error: ' . curl_error($ch);
} else {
echo 'Response: ' . $response;
}
curl_close($ch);
?>
<?php
require 'vendor/autoload.php'; // Make sure to include the Guzzle library
use GuzzleHttp\Client;
$api_url = 'https://api.onetappass.com/api/v1/';
$api_key = 'API_KEY'; // Replace with your actual API key
$data = array(
'recipient' => '+919876543210',
'type' => 'otp',
'code' => '123456',
'channel' => 'whatsapp'
);
$headers = array(
'Authorization' => 'Bearer ' . $api_key,
'Content-Type' => 'application/json',
'Accept' => 'application/json'
);
$client = new Client();
$response = $client->post($api_url, [
'headers' => $headers,
'json' => $data
]);
$body = $response->getBody();
echo $body;
?>
{
"status": "success",
"message_id": "RANDOM_ID",
"recipient": "+919876543210",
"code": "123456"
}
{
"error": "detail of the error"
}