What is SketchFy?

SketchFy is a simple, fast, and secure OTP verification service that can be used in any project.

How it Works?

  1. User enters phone/email.
  2. Server generates OTP and sends to user.
  3. User verifies OTP → Login/Verification successful.

Send OTP API Demo

Send a POST request with the following parameters to get OTP:

  • url: https://api.sketchfy.myani.top/send
  • number: recipient_phone_number
  • apikey: your_api_key

Example POST Request (cURL)

curl -X POST https://api.sketchfy.myani.top/send \
-H "Content-Type: application/json" \
-d '{
  "number": "+88017XXXXXXXX",
  "apikey": "YOUR_API_KEY"
}'

Example POST Request (JavaScript / fetch)

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);
  }
});

Successful Response

{
  "status": "successful",
  "message": "The SMS has been sent successfully."
}

Error Response

Required fields missing
{
  "status": "error",
  "message": "Apikey and Number required"
  }
Apikey not found
{
  "status": "error",
  "message": "Apikey Not Found"
}
Apikey blocked
{
  "status": "error",
  "message": "Apikey has been blocked"
}
Package not found
{
  "status": "error",
  "message": "Package not found"
}
Apikey expired
{
  "status": "error",
  "message": "Apikey has been expired"
}
Apikey paused
{
  "status": "error",
  "message": "Apikey Paused"
}
Today's message limit crossed
{
  "status": "error",
  "message": "This number has crossed today's message limit."
}
Insufficient balance
{
  "status": "error",
  "message": "Insufficient sms balance"
}
If phone number format is wrong.
{
  "status": "error",
  "message": "Incorrect phone number"
}
If SMS message is blank.
{
  "status": "error",
  "message": "Message can not be blank"
}

OTP Verification API Demo

To verify an OTP, send a POST request with the following parameters:

  • url: https://api.sketchfy.myani.top/verify
  • number: recipient_phone_number
  • apikey: your_api_key
  • otp: user_entered_otp

Example POST Request (cURL)

curl -X POST https://api.sketchfy.myani.top/verify\
-H "Content-Type: application/json" \
-d '{
  "number": "+88017XXXXXXXX",
  "apikey": "YOUR_API_KEY",
  "otp": "123456"
}'

Example POST Request (JavaScript / fetch)

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);
  }
});

✅ Successful Verification

{
  "status": "successful",
  "message": "Verify Successful"
}

❌ Failed Verification

{
  "status": "error",
  "message": "Verify Failed"
}

Example Use Cases

✅ Login with OTP

✅ Account Verification

✅ Password Reset

✅ Secure Transaction Approval

Important Notes

  • Make sure internet permission is enabled in your app.
  • Never share OTP publicly.
  • Always verify OTP before granting access.