Loading PacketShield
PacketShieldDocs
Documentation/Reference

Application API

Internal endpoints, authentication and request formats.

Pre-launch workspace. Live traffic protection is not active.

Scope#

These are internal browser endpoints on panel.packetshield.xyz, not a public API-key product. Authenticated endpoints require the existing browser session. Creating, editing or deleting records also requires the expected same-origin context.

Do not copy authentication cookies into shared scripts. Account data responses use private or no-store caching.

Endpoints#

EndpointMethodPurpose
/api/accountGETCurrent user and provider availability
/api/panelGETOwn saved drafts
/api/panelPOSTCreate a validated draft
/api/panel?id=IDDELETEDelete an owned draft
/api/protectionGETMitigation connection status
/api/adminGETApproved-admin records and search
/api/adminPATCHAudited configuration update
/api/admin/customers/IDGETApproved-admin read-only customer inspection
/api/checkoutPOST / GETLegacy Stripe flow; unused by Free

Free draft payload#

Ownership is derived from the signed-in account, not a supplied user ID. The server rejects unsupported regions and supplied plan IDs. Success returns the saved service with status 201.

{
  "name": "Example network",
  "target": "play.example.com",
  "category": "game",
  "integration": "Protected endpoint",
  "edition": "both",
  "javaPort": 25565,
  "bedrockPort": 19132,
  "region": "europe",
  "planId": "game-free"
}

Response codes#

CodeMeaning
200 / 201Successful operation / saved draft
400Invalid fields, region or plan
401 / 403Sign-in required / access or origin check failed
404Record missing or not owned
409Draft limit reached
413 / 415Request too large / JSON required
503Database or integration unavailable