Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.hackgate.io/llms.txt

Use this file to discover all available pages before exploring further.

You can enable or disable any HackGATE at any time. When disabled, the proxy stops forwarding traffic to your origin — researchers see a HackGATE default page instead. This lets you pause testing without removing the HackGATE.

Enable a HackGATE

Send a GET request to /api/sites/enable/<site-id> to activate a HackGATE and resume forwarding traffic to your origin.
curl https://admin.hackgate.io/api/sites/enable/<site-id> \
  -H "Authorization: Bearer <your-token>"
The response returns the updated site object with isActive: true.

Disable a HackGATE

Send a GET request to /api/sites/disable/<site-id> to deactivate a HackGATE and stop forwarding traffic.
curl https://admin.hackgate.io/api/sites/disable/<site-id> \
  -H "Authorization: Bearer <your-token>"
The response returns the updated site object with isActive: false.
Enabling or disabling a HackGATE updates the proxy routing in real time. Changes take effect within seconds.

Common errors

ErrorCause
"Site is already active"You called enable on an already-active site.
"Site is already disabled"You called disable on an already-disabled site.
"Site deployment is in progress"The site is still being provisioned. Wait for the deployment email before enabling or disabling.
For planned testing windows, use the scheduling feature instead of manually enabling and disabling. See Schedule HackGATE start and stop times.
Last modified on May 9, 2026