Loading . . .
1510 Sector 82, Mohali, Punjab 9.00 am - 9.00 pm
verifyone@bhanguz.com +91 9465434150

Website Verification API

This API verifies ownership of a website by checking a private verification file hosted on the user’s domain. It compares the contents with a server-side copy and, if matched, issues a secure sid and token.

Endpoint
POST https://verifyone.bhanguz.com/api/verify-website
Request Parameters
Parameter Type Required Description
private_file_url string (URL) Yes Full public URL to the verification file on the user’s domain.
Sample Request
{
    "private_file_url": "https://example.com/abc12345.html"
}
Success Response
{
    "message": "Website verified successfully.",
    "sid": "af57aa7d-3f6e-4c94-9999-f4e9fdddbf27",
    "token": "9d3f5cbb6b7a2e5c6c0b4d2319b1a9b6d..."
}
Error Responses
  • 400 Bad Request – Invalid or missing URL.
  • 403 Forbidden – File content mismatch.
  • 404 Not Found – File not found or invalid file name.
  • 500 Server Error – Retrieval or parsing failure.
Note:
  • The private file must be uploaded to the domain beforehand.
  • This API works once per domain unless reset by admin.
  • Returns sid and token for further API access.