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.
POST /download-private-file/{website_id}
Protected
Authentication is required via Laravel session cookies:
id → User IDsession → Active session token| Parameter | Type | Required | Description |
|---|---|---|---|
| website_id | string | Yes | Unique ID of the website |
Returns a downloadable HTML file with:
File data is also saved in DB for tracking.
<!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>
curl -X GET \
https://verifyone.bhanguz.com/api/download-private-file/XxW29kdjaU.html \
--cookie "session=abc123; id=1"