Skip to main content
HackGATE supports two access modes for each site. In open mode any authenticated researcher can connect. In restricted mode only email addresses on the allowlist can connect. Use the endpoints below to read and update the allowlist, and to toggle between the two modes. All four endpoints require a Bearer token in the Authorization header.

GET /api/sites/getHackers/

Returns all researchers currently on the allowlist for a site.

Request

GET https://api-admin.hackgate.io/api/sites/getHackers/{id}

Headers

Authorization
string
required
Bearer token. Example: Bearer <token>

Path parameters

id
string
required
The UUID of the site.

Response

Returns an array of allowlist entries.
[]
object[]

Example

curl https://api-admin.hackgate.io/api/sites/getHackers/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  -H "Authorization: Bearer <token>"
[
  {
    "id": "entry-uuid-1",
    "email": "alice@example.com",
    "siteId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  },
  {
    "id": "entry-uuid-2",
    "email": "bob@example.com",
    "siteId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  }
]