Welcome to the official documentation of SketchFy OTP Service. Here you'll find how to integrate and use SketchFy in your apps.
SketchFy is a simple, fast, and secure OTP verification service that can be used in any project.
Send a POST request with the following parameters to get OTP:
https://api.sketchfy.myani.top/send
recipient_phone_number
your_api_key
curl -X POST https://api.sketchfy.myani.top/send \
-H "Content-Type: application/json" \
-d '{
"number": "+88017XXXXXXXX",
"apikey": "YOUR_API_KEY"
}'
fetch("https://api.sketchfy.myani.top/send", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
number: "+88017XXXXXXXX",
apikey: "YOUR_API_KEY"
})
})
.then(response => response.json())
.then(data => {
if(data.status === "successful"){
console.log("OTP:", data.otp, "Number:", data.number);
} else {
console.error("Error:", data.message);
}
});
{
"status": "successful",
"message": "The SMS has been sent successfully."
}
{
"status": "error",
"message": "Apikey and Number required"
}
{
"status": "error",
"message": "Apikey Not Found"
}
{
"status": "error",
"message": "Apikey has been blocked"
}
{
"status": "error",
"message": "Package not found"
}
{
"status": "error",
"message": "Apikey has been expired"
}
{
"status": "error",
"message": "Apikey Paused"
}
{
"status": "error",
"message": "This number has crossed today's message limit."
}
{
"status": "error",
"message": "Insufficient sms balance"
}
{
"status": "error",
"message": "Incorrect phone number"
}
{
"status": "error",
"message": "Message can not be blank"
}
To verify an OTP, send a POST request with the following parameters:
https://api.sketchfy.myani.top/verify
recipient_phone_number
your_api_key
user_entered_otp
curl -X POST https://api.sketchfy.myani.top/verify\
-H "Content-Type: application/json" \
-d '{
"number": "+88017XXXXXXXX",
"apikey": "YOUR_API_KEY",
"otp": "123456"
}'
fetch("https://api.sketchfy.myani.top/verify", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
number: "+88017XXXXXXXX",
apikey: "YOUR_API_KEY",
otp: "123456"
})
})
.then(response => response.json())
.then(data => {
if(data.status === "successful"){
console.log("Message:", data.message);
} else {
console.error("Error:", data.message);
}
});
{
"status": "successful",
"message": "Verify Successful"
}
{
"status": "error",
"message": "Verify Failed"
}
✅ Login with OTP
✅ Account Verification
✅ Password Reset
✅ Secure Transaction Approval