Quick start
Integration flow
Generate API key
Create a TrustShield API credential from the enterprise console when API access is enabled for your workspace.
Authenticate
Send the key with each request using the Authorization header and keep credentials outside client-side bundles.
Verify URL
Submit the URL or trust signal through the relevant analysis endpoint using a typed JSON payload.
Read trust score
Use the score, verdict, risk indicators, and recommendation to explain the decision to your users.
Take action
Apply your product policy: allow, warn, require verification, block, or escalate for review.
Example
Verify your first URL
Start with URL Trust because it is the smallest integration surface: one input, one trust report, and a recommendation your product can act on immediately.
curl $NEXT_PUBLIC_API_BASE_URL/api/public/analyze/url \
-H "Authorization: Bearer $TRUSTSHIELD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/login"}'