TrustShield

Developer documentation

Getting Started

A practical path from API access to the first TrustShield trust decision.

Quick start

Integration flow

1

Generate API key

Create a TrustShield API credential from the enterprise console when API access is enabled for your workspace.

2

Authenticate

Send the key with each request using the Authorization header and keep credentials outside client-side bundles.

3

Verify URL

Submit the URL or trust signal through the relevant analysis endpoint using a typed JSON payload.

4

Read trust score

Use the score, verdict, risk indicators, and recommendation to explain the decision to your users.

5

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"}'

Keep secrets on the server

Use API keys from trusted server-side environments only. Do not embed API keys in mobile applications, browser bundles, or public repositories.