hackgatedName subdomain from your origin URL and organization slug automatically.
Request
Headers
Bearer token. Example:
Bearer <token>Must be
application/json.Body
The origin URL to proxy. Must be a full FQDN including scheme (e.g.
https://www.example.com). The following are not accepted:- URLs with query strings (
?key=value) - URLs with non-standard ports
- Origins already registered under another site (duplicates are rejected)
Validation errors
| Condition | Status | title |
|---|---|---|
originName is missing or empty | 400 | Validation error message |
| Origin URL is not a valid FQDN | 400 | Validation error message |
| Origin URL is already registered | 400 | Duplicate origin error message |
| URL contains a query string or non-standard port | 400 | Validation error message |
Response
Returns the newly created site object.Unique identifier for the site (UUID). Use this in all subsequent API calls.
The origin URL you provided.
The
hackgate.io subdomain provisioned for this site (e.g. www-myorg.hackgate.io).Initial active state of the site after creation.
Organization ID that owns this site.
User ID of the account that created the site.
ISO 8601 timestamp of when the site was created.
true while proxy infrastructure is being provisioned. Deployment takes approximately 4 minutes. You cannot enable or disable the site until this is false.Whether a custom researcher allowlist is enabled.
false immediately after creation.Scheduled start date.
null immediately after creation.Scheduled stop date.
null immediately after creation.Test credentials for researchers.
null immediately after creation.Testing instructions for researchers.
null immediately after creation.Rate limiting rule.
null immediately after creation.JSON-encoded block rules.
null immediately after creation.After creation,
isDeploymentProgress is true while HackGATE provisions the proxy. All organization members receive an email when creation starts and a second email when the site is live (~4 minutes later).