Skip to main content

Quickstart

This guide shows the standard Senthrex workflow using the bearer token and the scan UUID returned from /scan.

1) Set your bearer token

export SENTHREX_TOKEN="YOUR_BEARER_TOKEN"

2) Start a scan (recommended: POST)

curl -X POST "https://rts-senthrex.slayers.tech/scan" \
  -H "Authorization: Bearer $SENTHREX_TOKEN" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  --data-urlencode "domain=example.com" \
  --data-urlencode "mode=full"
mode is optional and defaults to full. Use discovery for a lighter scan profile. The response includes a uuid (scan UUID). Use it as scan_uuid in all follow-up requests.

3) Check scan status

curl -X GET "https://rts-senthrex.slayers.tech/status/YOUR_SCAN_UUID" \
  -H "Authorization: Bearer $SENTHREX_TOKEN"

4) Retrieve outputs

Structured results

curl -X GET "https://rts-senthrex.slayers.tech/results/YOUR_SCAN_UUID" \
  -H "Authorization: Bearer $SENTHREX_TOKEN"

Logs

curl -X GET "https://rts-senthrex.slayers.tech/logs/YOUR_SCAN_UUID" \
  -H "Authorization: Bearer $SENTHREX_TOKEN"

Report archive

curl -X GET "https://rts-senthrex.slayers.tech/report/YOUR_SCAN_UUID" \
  -H "Authorization: Bearer $SENTHREX_TOKEN"

Raw JSON artifact

curl -X GET "https://rts-senthrex.slayers.tech/json/YOUR_SCAN_UUID" \
  -H "Authorization: Bearer $SENTHREX_TOKEN"

5) Stop a running scan (optional)

curl -X POST "https://rts-senthrex.slayers.tech/scan/YOUR_SCAN_UUID/stop" \
  -H "Authorization: Bearer $SENTHREX_TOKEN"

Next steps

  • /senthrex/api/start-scan-post
  • /senthrex/api/get-status
  • /senthrex/api/get-results
  • /senthrex/api/get-scan-json
  • /senthrex/api/list-scans