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

Download Private Verification File

This API generates a temporary verification HTML file containing a security key, website ID, and timestamp. The file is stored in the database and made available for download.

Endpoint
POST /download-private-file/{website_id} Protected

Authentication is required via Laravel session cookies:

  • id → User ID
  • session → Active session token
If session is missing or invalid, user is redirected with error.
Route Parameters
Parameter Type Required Description
website_id string Yes Unique ID of the website
Response

Returns a downloadable HTML file with:

  • Security Key → Random 40-char string
  • Website ID
  • Verification URL → Website base URL + filename

File data is also saved in DB for tracking.

Sample File Content
<!DOCTYPE html>
<html>
<body>
    <p>Security Key: A1b2C3d4E5f6G7h8I9j0K1l2M3n4O5p6Q7r8s9t</p>
    <p>Website ID: XxW29kdjaU</p>
    <p>Use This Url For Verification: https://mydomain.com/64ef9d2c7a1.html</p>
</body>
</html>
Example Request
curl -X GET \
  https://verifyone.bhanguz.com/api/download-private-file/XxW29kdjaU.html \
  --cookie "session=abc123; id=1"
Note: Only authenticated users can access this API.