Skip to main content

Postman Collection

Import docs/postman/Dralvia_Public_API.postman_collection.json into Postman (or Hoppscotch/Insomnia). The collection contains:

  1. links and websites Scan: POST /scan with a placeholder EvidencePack (Dralvia's exportable evidence report) toggle.
  2. SWG Evaluate: workspace Web Access Protection evaluate request plus a saved example for a blocked social site.
  3. Adaptive Shadow Render: workspace adaptive shadow-browsing request with two selectors.
  4. Email Protect: POST /email/protect covering safe-link rewriting + attachment detonation metadata.

Environment variables

VariableDescription
baseUrlBase URL of your deployment (e.g., https://dralvia.tech/api/tenant).
apiKeyWorkspace API key (preferred: Authorization: Api-Key …; legacy: X-API-KEY).
sessionTokenOptional signed-in browser session token for approved interactive testing. Workspace API keys are preferred for automation.

The collection injects these variables automatically so the raw JSON remains portable to CI/CD (Newman, Postman CLI, etc.). Keep the file under version control to prove exactly which endpoints were exercised during readiness reviews.