๐ API Credentials
Use these credentials to authenticate your API requests
API Key
Loading...
API Secret
Loading...
๐ Quick Start Examples
# Send OTP
curl -X POST https://api.toolweb.in:8168/api/v1/send-otp \
-H "X-API-Key: YOUR_API_KEY" \
-H "X-API-Secret: YOUR_API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"email": "user@example.com",
"purpose": "login",
"expiry_minutes": 10
}'
# Verify OTP
curl -X POST https://api.toolweb.in:8168/api/v1/verify-otp \
-H "X-API-Key: YOUR_API_KEY" \
-H "X-API-Secret: YOUR_API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"email": "user@example.com",
"otp": "123456"
}'
// Send OTP
$ch = curl_init('https://api.toolweb.in:8168/api/v1/send-otp');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'X-API-Key: YOUR_API_KEY',
'X-API-Secret: YOUR_API_SECRET',
'Content-Type: application/json'
]);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode([
'email' => 'user@example.com',
'purpose' => 'login'
]));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
$data = json_decode($response, true);
# Send OTP
import requests
response = requests.post(
'https://api.toolweb.in:8168/api/v1/send-otp',
headers={
'X-API-Key': 'YOUR_API_KEY',
'X-API-Secret': 'YOUR_API_SECRET'
},
json={
'email': 'user@example.com',
'purpose': 'login'
}
)
data = response.json()
print(data)
// Send OTP
const response = await fetch('https://api.toolweb.in:8168/api/v1/send-otp', {
method: 'POST',
headers: {
'X-API-Key': 'YOUR_API_KEY',
'X-API-Secret': 'YOUR_API_SECRET',
'Content-Type': 'application/json'
},
body: JSON.stringify({
email: 'user@example.com',
purpose: 'login'
})
});
const data = await response.json();
console.log(data);
๐งช Test Your API
โก Quick Actions
๐ Your Plan
Free Plan
100 emails/month included
USAGE THIS MONTH
0%
๐ Authentication Client Code
๐ Do you need this MVP?
Contact us